build.config: Add build config support for allyesconfig
Building kernel with allyesconfig configuration creates .config file by setting all symbols to 'y' as much as possilble. Change-Id: I35666851ea3eb03f818bddfac0e587129a32648a Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
This commit is contained in:
parent
21bb570190
commit
8763041a37
16
build.config.allyesconfig
Normal file
16
build.config.allyesconfig
Normal file
@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
# Common MSM configuration for building non-GKI-based kernels
|
||||
DEFCONFIG="gki_defconfig"
|
||||
|
||||
function build_defconfig_fragments() {
|
||||
if [[ "${VARIANT}" =~ ^(perf_defconfig)$ ]]; then
|
||||
apply_defconfig_fragment ${KERNEL_DIR}/arch/${ARCH}/configs/vendor/${MSM_ARCH}_GKI.config vendor/${MSM_ARCH}-${DEFCONFIG}
|
||||
fi
|
||||
}
|
||||
build_defconfig_fragments
|
||||
|
||||
function update_config() {
|
||||
(cd ${OUT_DIR} && \
|
||||
make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} ${TOOL_ARGS} ${MAKE_ARGS} mod2yesconfig)
|
||||
}
|
||||
POST_DEFCONFIG_CMDS="update_config"
|
Loading…
Reference in New Issue
Block a user