forked from openkylin/platform_build
build: use correct arm vs thumb arguments for 2nd arch builds
Set arm_objects_mode and normal_objects_mode when building a module for arm when it is the 2nd arch. Change-Id: I5f7df519b6e1dde6cbf92d106681f07a58e1f1f2
This commit is contained in:
parent
c3256c770d
commit
6e087a339b
|
@ -281,7 +281,7 @@ endif
|
|||
## Define arm-vs-thumb-mode flags.
|
||||
###########################################################
|
||||
LOCAL_ARM_MODE := $(strip $(LOCAL_ARM_MODE))
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
ifeq ($(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH),arm)
|
||||
arm_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),arm)
|
||||
normal_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),thumb)
|
||||
|
||||
|
|
Loading…
Reference in New Issue