diff options
author | LuK1337 <priv.luk@gmail.com> | 2023-10-06 09:42:53 +0200 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2024-02-04 14:56:40 +0800 |
commit | a116e62226ef47e48c036519288348ab25db6da2 (patch) | |
tree | 7f305b194a9cbd13a09d9cbf5d50de84a3a7e0dd | |
parent | 51e0b3f2c37aa62fbf6d44e88de7828b91f4a869 (diff) |
kernelscripts: Use {lz4, pahole} from Google prebuilts
Fixes: "lz4" is not allowed to be used.
Also squashes:
Author: Bruno Martins <bgcngm@gmail.com>
Date: Tue Sep 19 15:59:00 2023 +0100
kernel: Use pahole from Google prebuilts
This fixes the following warnings:
13:04:54 Disallowed PATH tool "pahole" used: []string{"pahole", "--version"}
13:04:54 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
"pahole" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
Change-Id: Ice2a3753301a7b7782037fd35544e2831b258650
Test: breakfast tangorpro && m bootimage
Change-Id: I62cfe131f457117cb3745b91f5e43c085e87b611
-rw-r--r-- | kernel_definitions.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk index 402698b..91e16e6 100644 --- a/kernel_definitions.mk +++ b/kernel_definitions.mk @@ -49,6 +49,8 @@ TARGET_KERNEL_MAKE_ENV += DEPMOD=$(SOURCE_ROOT)/$(HOST_OUT_EXECUTABLES)/depmod TARGET_KERNEL_MAKE_ENV += LEX=$(SOURCE_ROOT)/prebuilts/build-tools/$(HOST_OS)-$(HOST_2ND_ARCH)/bin/flex TARGET_KERNEL_MAKE_ENV += M4=$(SOURCE_ROOT)/prebuilts/build-tools/$(HOST_OS)-$(HOST_2ND_ARCH)/bin/m4 TARGET_KERNEL_MAKE_ENV += YACC=$(SOURCE_ROOT)/prebuilts/build-tools/$(HOST_OS)-$(HOST_2ND_ARCH)/bin/bison +TARGET_KERNEL_MAKE_ENV += LZ4=$(SOURCE_ROOT)/prebuilts/kernel-build-tools/linux-x86/bin/lz4 +TARGET_KERNEL_MAKE_ENV += PAHOLE=$(SOURCE_ROOT)/prebuilts/kernel-build-tools/linux-x86/bin/pahole BUILD_CONFIG := $(TARGET_KERNEL_SOURCE)/build.config.common CLANG_VERSION := $(shell IFS="/"; while read LINE; do if [[ $$LINE == *"CLANG_PREBUILT_BIN"* ]]; then read -ra CLANG <<< "$$LINE"; for VERSION in "$${CLANG[@]}"; do if [[ $$VERSION == *"clang-"* ]]; then echo "$$VERSION"; fi; done; fi; done < $(BUILD_CONFIG)) |