forked from openkylin/platform_build
build: use arm kernel headers for arm 2nd arch builds
Compiling for arm requires using the arm kernel headers and not the aarch64 kernel headers. Add $(combo_2nd_arch_prefix) to get asm-$(TARGET_2ND_ARCH) when arm is the 2nd arch. Change-Id: I15270d0ef35e48c034bf4d0d5e35b76f67b2a8e1
This commit is contained in:
parent
b8e0185489
commit
c3256c770d
|
@ -197,7 +197,7 @@ endif
|
|||
|
||||
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_$(combo_2nd_arch_prefix)ARCH)
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
$(combo_2nd_arch_prefix)TARGET_C_INCLUDES := \
|
||||
|
|
Loading…
Reference in New Issue