mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
MA-22242 [Android-14] Fix build error when using bazel to update symbol list
The following build error is encountered when using bazel to update symbol list: Makefile:142: /build/make/core/build_id.mk: No such file or directory make: *** No rule to make target '/build/make/core/build_id.mk'. Stop. There is no build_id.mk when using bazel build. the first letter of BUILD_ID in build/make/core/build_id.mk for Android14 must be U to represent Android14, so the change has no negative effect on the branch being used only for Android14. Change-Id: I6045f7fabe9d6b1767b4c830bf4041a7e70029ae Signed-off-by: Zhipeng Wang <zhipeng.wang_1@nxp.com>
This commit is contained in:
parent
084db3ce0f
commit
8546cd77cf
1 changed files with 1 additions and 14 deletions
|
@ -139,20 +139,7 @@ CONFIG_ANDROID_KERNEL=y
|
|||
ifeq ($(ANDROID_PRODUCT_OUT),1)
|
||||
ccflags-y += -DANDROID_SDK_VERSION=$(ANDROID_SDK_VERSION)
|
||||
else
|
||||
include $(ANDROID_BUILD_TOP)/build/make/core/build_id.mk
|
||||
ifeq ($(shell echo "$(BUILD_ID)" | cut -c1),R)
|
||||
ccflags-y += -DANDROID_SDK_VERSION=30
|
||||
else ifeq ($(shell echo "$(BUILD_ID)" | cut -c1),S)
|
||||
ccflags-y += -DANDROID_SDK_VERSION=31
|
||||
else ifeq ($(shell echo "$(BUILD_ID)" | cut -c1),T)
|
||||
ccflags-y += -DANDROID_SDK_VERSION=33
|
||||
else ifeq ($(shell echo "$(BUILD_ID)" | cut -c1),U)
|
||||
ccflags-y += -DANDROID_SDK_VERSION=34
|
||||
else
|
||||
# Default optimization or actions
|
||||
ANDROID_SDK_VERSION := 0
|
||||
ccflags-y += -DANDROID_SDK_VERSION
|
||||
endif
|
||||
ccflags-y += -DANDROID_SDK_VERSION=34
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue