Peter Collingbourne | 70cf198 | 2021-04-01 17:46:48 -0700 | [diff] [blame] | 1 | append_cmd POST_DEFCONFIG_CMDS update_khwasan_config |
| 2 | |
| 3 | function update_khwasan_config() { |
| 4 | ${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \ |
| 5 | -e CONFIG_KASAN \ |
| 6 | -d CONFIG_KASAN_HW_TAGS \ |
| 7 | -e CONFIG_KASAN_SW_TAGS \ |
| 8 | -e CONFIG_KASAN_OUTLINE \ |
| 9 | -e CONFIG_KASAN_PANIC_ON_WARN \ |
| 10 | -e CONFIG_KCOV \ |
| 11 | -e CONFIG_PANIC_ON_WARN_DEFAULT_ENABLE \ |
| 12 | -d CONFIG_RANDOMIZE_BASE \ |
| 13 | --set-val CONFIG_FRAME_WARN 0 \ |
| 14 | -d SHADOW_CALL_STACK |
| 15 | (cd ${OUT_DIR} && \ |
| 16 | make O=${OUT_DIR} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig) |
| 17 | } |