summaryrefslogtreecommitdiff
path: root/build.config.slider.debug_memory_accounting
blob: c845a4218a5a6b9e257ea5cc8ea4cdce6864cff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TRIM_NONLISTED_KMI=0
KMI_SYMBOL_LIST_STRICT_MODE=0

# TODO(b/239987494): Remove this when the core GKI fragment is removed.
if [ -n "${CORE_GKI_FRAGMENT}" ]; then
source ${ROOT_DIR}/${CORE_GKI_FRAGMENT}
fi

append_cmd POST_DEFCONFIG_CMDS update_debug_config

function update_debug_config() {
  ${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
    -e CONFIG_PAGE_OWNER
  (cd ${OUT_DIR} && \
   make O=${OUT_DIR} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)
}