Files
kernel_google_msm-4.14/build.config.debug_api
Petri Gynther c70e534c1b Pixel 4: build.config: fix make olddefconfig invocations
Add ${CC_LD_ARG} and remove unnecessary cruft.

Change-Id: I0cf3ad5942ef9b7be63e12f056e4b4c9c4362d7f
Signed-off-by: Petri Gynther <pgynther@google.com>
2019-08-12 21:29:43 -07:00

25 lines
798 B
Plaintext

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 \
-e CONFIG_DMA_API_DEBUG \
-e CONFIG_DEBUG_SHIRQ \
-e CONFIG_DEBUG_KOBJECT \
-e CONFIG_DEBUG_KOBJECT_RELEASE \
-e CONFIG_DEBUG_LIST \
-e CONFIG_DEBUG_PI_LIST \
-e CONFIG_DEBUG_NOTIFIERS \
-e CONFIG_DEBUG_CREDENTIALS \
-e CONFIG_PANIC_ON_WARN_DEFAULT_ENABLE \
-d LTO \
-d LTO_CLANG \
-d CFI \
-d CFI_PERMISSIVE \
-d CFI_CLANG \
-d SHADOW_CALL_STACK
(cd ${OUT_DIR} && \
make ${CC_LD_ARG} O=${OUT_DIR} olddefconfig)
}