diff options
author | Alexander Koskovich <zvnexus@outlook.com> | 2020-09-19 00:28:24 -0700 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-01-13 16:38:27 +0800 |
commit | 760913a82c78394f8f58d4685395cced3b73f3b1 (patch) | |
tree | 260168197974e0d0f2d61dada2710bb2c51f8199 | |
parent | c388242056d3bbadbb285b1a545e721650a728b9 (diff) |
kernel_definitions: Point to AOSP build tools.
Change-Id: Ia323d40e867f3afe7adc6c527d608a1730dde5b6
-rw-r--r-- | kernel_definitions.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk index bc47f3e..c4d8d2f 100644 --- a/kernel_definitions.mk +++ b/kernel_definitions.mk @@ -24,6 +24,10 @@ TARGET_KERNEL_MAKE_ENV += HOSTCC=$(SOURCE_ROOT)/$(SOONG_LLVM_PREBUILTS_PATH)/cla 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_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 +TARGET_KERNEL_MAKE_ENV += M4=$(SOURCE_ROOT)/prebuilts/build-tools/$(HOST_OS)-x86/bin/m4 TARGET_KERNEL_MAKE_LDFLAGS = "-L/usr/lib -L/usr/lib/x86_64-linux-gnu -fuse-ld=lld" BUILD_CONFIG := $(TARGET_KERNEL_SOURCE)/build.config.common |