From 9403bd58cc922b969f82c6cb24c7a8734fc651d0 Mon Sep 17 00:00:00 2001 From: HONG Yifan Date: Fri, 1 Nov 2024 12:08:26 -0700 Subject: [PATCH] ANDROID: Delete some build configs from build.config.common. - EXTRA_CMDS: Not used by Kleaf. - STOP_SHIP_TRACEPRINTK: Not used by Kleaf. If we need this feature, we should implement it in Kleaf separately. - IN_KERNEL_MODULES: Not used by Kleaf. We always install modules as part of the kernel_modules()/kernel_modules_install() rule. - DO_NOT_STRIP_MODULES: Not used by Kleaf. - kernel_build relies on the strip_modules attribute and does not rely on the value of this. - system_dlkm/vendor_dlkm unset its value and does not respect the value of this. - HERMETIC_TOOLCHAIN: Not used by Kleaf; kernel_env() always uses hermetic toolchain regardless of its value. Bug: 236012223 Change-Id: I23b9093152b502aeb60fa478036fc8df54a56bbd Signed-off-by: HONG Yifan --- build.config.common | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.config.common b/build.config.common index 9689ff66a114..0019e361e522 100644 --- a/build.config.common +++ b/build.config.common @@ -6,9 +6,3 @@ DEPMOD=depmod DTC=$(command -v dtc) KCFLAGS="${KCFLAGS} -D__ANDROID_COMMON_KERNEL__" -EXTRA_CMDS='' -STOP_SHIP_TRACEPRINTK=1 -IN_KERNEL_MODULES=1 -DO_NOT_STRIP_MODULES=1 - -HERMETIC_TOOLCHAIN=${HERMETIC_TOOLCHAIN:-1}