Add samsung specific changes
This commit is contained in:
17
build.config.allyesconfig
Normal file
17
build.config.allyesconfig
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
# Common MSM configuration for building non-GKI-based kernels
|
||||
DEFCONFIG="gki_defconfig"
|
||||
# For allyes target, keeping perf config as common for both debug & perf defconfigs.
|
||||
# This has to be changed when debug variant of allyes target is brought up.
|
||||
function build_defconfig_fragments() {
|
||||
if [[ "${VARIANT}" == "perf_defconfig" || "${VARIANT}" == "debug_defconfig" ]]; then
|
||||
apply_defconfig_fragment ${KERNEL_DIR}/arch/${ARCH}/configs/vendor/${MSM_ARCH}_perf.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"
|
Reference in New Issue
Block a user