summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Levy <blevy@codeaurora.org>2020-05-22 13:36:24 -0700
committerBruce Levy <blevy@codeaurora.org>2020-05-22 13:36:24 -0700
commit85b8b98431f20ded1f454e018c30154875c5e904 (patch)
treeeb103743326766bcd4fc7f9aae20e75eff96a120
parent5a3a39e72a5c9044aae3a63cb8065b825e7b4e5e (diff)
scripts: gki: Add support for qgki-consolidate_defconfig
The consolidated config fragment is containing/moving all the debug options from debug fragment except the ones which are incurring power and performance penalties. Change-Id: I12a45228bd86a1d5304e06447f1db019563ba718 Signed-off-by: Bruce Levy <blevy@codeaurora.org>
-rw-r--r--kernel_definitions.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk
index cdbbddc..6e8baf9 100644
--- a/kernel_definitions.mk
+++ b/kernel_definitions.mk
@@ -115,7 +115,7 @@ $(error Kernel configuration not defined, cannot build kernel)
else
ifeq ($(GKI_KERNEL),1)
-GKI_PLATFORM_NAME := $(shell echo $(KERNEL_DEFCONFIG) | sed -r "s/(-gki_defconfig|-qgki_defconfig|-qgki-debug_defconfig)$///")
+GKI_PLATFORM_NAME := $(shell echo $(KERNEL_DEFCONFIG) | sed -r "s/(-gki_defconfig|-qgki_defconfig|-qgki-consolidate_defconfig|-qgki-debug_defconfig)$///")
GKI_PLATFORM_NAME := $(shell echo $(GKI_PLATFORM_NAME) | sed "s/vendor\///g")
TARGET_USES_UNCOMPRESSED_KERNEL := $(shell grep "CONFIG_BUILD_ARM64_UNCOMPRESSED_KERNEL=y" $(TARGET_KERNEL_SOURCE)/arch/arm64/configs/vendor/$(GKI_PLATFORM_NAME)_GKI.config)
KERNEL_GENERATE_DEFCONFIG := $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/configs/$(KERNEL_DEFCONFIG)