Files
kernel_google_b1c1/build.config.bonito_debug_kmemleak
Petri Gynther 7b809a6a92 Pixel 3: build.config: fix make olddefconfig invocations
Add ${CC_LD_ARG} and remove unnecessary cruft.

Change-Id: I44fb7ea9a5c20b93a4fa4c5ed4d1d3ad903aba94
Signed-off-by: Petri Gynther <pgynther@google.com>
2019-08-12 21:11:44 -07:00

18 lines
546 B
Plaintext

DEFCONFIG=bonito_defconfig
KERNEL_DIR=private/msm-google
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common.clang
POST_DEFCONFIG_CMDS="check_defconfig && update_debug_config"
function update_debug_config() {
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
--set-val DEBUG_KMEMLEAK_EARLY_LOG_SIZE 4500 \
-e CONFIG_DEBUG_KMEMLEAK \
-d LTO \
-d LTO_CLANG \
-d CFI \
-d CFI_PERMISSIVE \
-d CFI_CLANG
(cd ${OUT_DIR} && \
make ${CC_LD_ARG} O=${OUT_DIR} olddefconfig)
}