forked from engstk/pxl4a
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.config.debug_api
More file actions
24 lines (23 loc) · 798 Bytes
/
build.config.debug_api
File metadata and controls
24 lines (23 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
}