Michael Specter | e6ceb188 | 2021-02-22 20:16:25 -0500 | [diff] [blame] | 1 | DEFCONFIG=gki_defconfig |
| 2 | POST_DEFCONFIG_CMDS="check_defconfig && update_kprobes_config" |
| 3 | function update_kprobes_config() { |
| 4 | ${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \ |
Michael Specter | e6ceb188 | 2021-02-22 20:16:25 -0500 | [diff] [blame] | 5 | -d LTO_CLANG_THIN \ |
Sami Tolvanen | 3500abc | 2021-03-06 07:53:39 -0800 | [diff] [blame] | 6 | -d LTO_CLANG_FULL \ |
Michael Specter | e6ceb188 | 2021-02-22 20:16:25 -0500 | [diff] [blame] | 7 | -d CFI_PERMISSIVE \ |
| 8 | -d CFI_CLANG \ |
| 9 | -e CONFIG_DYNAMIC_FTRACE \ |
| 10 | -e CONFIG_FUNCTION_TRACER \ |
| 11 | -e CONFIG_IRQSOFF_TRACER \ |
| 12 | -e CONFIG_FUNCTION_PROFILER \ |
| 13 | -e CONFIG_PREEMPT_TRACER \ |
| 14 | -e CONFIG_CHECKPOINT_RESTORE \ |
| 15 | -d CONFIG_RANDOMIZE_BASE |
| 16 | (cd ${OUT_DIR} && \ |
| 17 | make ${CC_LD_ARG} O=${OUT_DIR} olddefconfig) |
| 18 | } |
| 19 | |