diff options
author | Evan Anderson <evananderson@aospa.co> | 2020-12-04 00:18:56 -0600 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-01-13 16:38:27 +0800 |
commit | da521f8aa66aba8659377542757088f8509a457e (patch) | |
tree | 5b9512e2b636feab9551fd3f4b7b9e96734c8fd9 | |
parent | dbfc554e6a874b9c406518165ec5010a78612c1e (diff) |
defs: Remove non-host header path from host includes.
* HOSTCFLAGS should not include a path to headers from the target kernel source
Change-Id: I919081c6b6f8ce36b9c17f0df8b4e5a41fc1442e
-rw-r--r-- | kernel_definitions.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk index 07100c9..db48ce8 100644 --- a/kernel_definitions.mk +++ b/kernel_definitions.mk @@ -31,7 +31,7 @@ TARGET_KERNEL_MAKE_ENV += CONFIG_BUILD_ARM64_DT_OVERLAY=y TARGET_KERNEL_MAKE_ENV += HOSTCC=$(SOURCE_ROOT)/$(SOONG_LLVM_PREBUILTS_PATH)/clang TARGET_KERNEL_MAKE_ENV += HOSTAR=$(SOURCE_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-ar TARGET_KERNEL_MAKE_ENV += HOSTLD=$(SOURCE_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-ld -TARGET_KERNEL_MAKE_CFLAGS = "-I$(SOURCE_ROOT)/$(TARGET_KERNEL_SOURCE)/include/uapi -I/usr/include -I/usr/include/x86_64-linux-gnu -I$(SOURCE_ROOT)/$(TARGET_KERNEL_SOURCE)/include -L/usr/lib -L/usr/lib/x86_64-linux-gnu -fuse-ld=lld" +TARGET_KERNEL_MAKE_CFLAGS = "-I/usr/include -I/usr/include/x86_64-linux-gnu -L/usr/lib -L/usr/lib/x86_64-linux-gnu -fuse-ld=lld" TARGET_KERNEL_MAKE_ENV += BISON_PKGDATADIR=$(SOURCE_ROOT)/prebuilts/build-tools/common/bison TARGET_KERNEL_MAKE_ENV += YACC=$(SOURCE_ROOT)/prebuilts/build-tools/linux-x86/bin/bison TARGET_KERNEL_MAKE_ENV += LEX=$(SOURCE_ROOT)/prebuilts/build-tools/linux-x86/bin/flex |