ANDROID: GKI: Source GKI_BUILD_CONFIG_FRAGMENT after setting all variables
build.config.gki sources a GKI_BUILD_CONFIG_FRAGMENT before all of the variables that are considered as part of a GKI kernel build are declared. This reduces the effectiveness of a GKI_BUILD_CONFIG_FRAGMENT, as it is only able to modify a subset of the build variables. Thus, move the logic to source GKI_BUILD_CONFIG_FRAGMENT to the end of the GKI build config files to provide more flexibility for a GKI_BUILD_CONFIG_FRAGMENT. Bug: 262930113 Change-Id: I74abb45f9043acce04cb0052f54fded4340a9366 Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
e80bb46694
commit
69fefbb3db
@@ -20,3 +20,7 @@ POST_DEFCONFIG_CMDS="rm ${ROOT_DIR}/${KERNEL_DIR}/arch/x86/configs/${DEFCONFIG}"
|
||||
|
||||
BUILD_GOLDFISH_DRIVERS=m
|
||||
EXT_MODULES="common-modules/virtual-device"
|
||||
|
||||
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
|
||||
source ${GKI_BUILD_CONFIG_FRAGMENT}
|
||||
fi
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
DEFCONFIG=gki_defconfig
|
||||
POST_DEFCONFIG_CMDS="check_defconfig"
|
||||
|
||||
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
|
||||
source ${GKI_BUILD_CONFIG_FRAGMENT}
|
||||
fi
|
||||
|
||||
@@ -59,3 +59,7 @@ BUILD_GKI_ARTIFACTS=1
|
||||
BUILD_GKI_BOOT_IMG_SIZE=67108864
|
||||
BUILD_GKI_BOOT_IMG_GZ_SIZE=47185920
|
||||
BUILD_GKI_BOOT_IMG_LZ4_SIZE=53477376
|
||||
|
||||
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
|
||||
source ${GKI_BUILD_CONFIG_FRAGMENT}
|
||||
fi
|
||||
|
||||
@@ -9,3 +9,7 @@ BUILD_GKI_CERTIFICATION_TOOLS=1
|
||||
|
||||
BUILD_GKI_ARTIFACTS=1
|
||||
BUILD_GKI_BOOT_IMG_SIZE=67108864
|
||||
|
||||
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
|
||||
source ${GKI_BUILD_CONFIG_FRAGMENT}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user