ANDROID: CROSS_COMPILE_ARM32 must work if CONFIG_COMPAT_VDSO
Prevent surprise loss of vdso32 support. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 63737556 Bug: 20045882 Bug: 19198045 Change-Id: I8b381f7649b95b298ea9e1a99aa3794c7bc08d09
This commit is contained in:
parent
17ce16eaf0
commit
72224b1d53
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ ifeq ($(CONFIG_COMPAT_VDSO), y)
|
|||
# CONFIG_CROSS_COMPILE_ARM32, set CROSS_COMPILE_ARM32 to an appropriate value
|
||||
# when invoking make and fix CONFIG_CROSS_COMPILE_ARM32.
|
||||
ifeq ($(CROSS_COMPILE_ARM32),)
|
||||
$(warning CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built)
|
||||
$(error CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built)
|
||||
else ifeq ($(cc-name),clang)
|
||||
export CLANG_TRIPLE_ARM32 ?= $(CROSS_COMPILE_ARM32)
|
||||
export CLANG_TARGET_ARM32 := --target=$(notdir $(CLANG_TRIPLE_ARM32:%-=%))
|
||||
|
|
Loading…
Add table
Reference in a new issue