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_DEBUG_KMEMLEAK \ | |
-e CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=4000 | |
(cd ${OUT_DIR} && \ | |
make O=${OUT_DIR} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig) | |
} |