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 \ |
| 5 | -d LTO \ |
| 6 | -d LTO_CLANG_THIN \ |
| 7 | -d CFI \ |
| 8 | -d CFI_PERMISSIVE \ |
| 9 | -d CFI_CLANG \ |
| 10 | -e CONFIG_DYNAMIC_FTRACE \ |
| 11 | -e CONFIG_FUNCTION_TRACER \ |
| 12 | -e CONFIG_IRQSOFF_TRACER \ |
| 13 | -e CONFIG_FUNCTION_PROFILER \ |
| 14 | -e CONFIG_PREEMPT_TRACER \ |
| 15 | -e CONFIG_CHECKPOINT_RESTORE \ |
| 16 | -d CONFIG_RANDOMIZE_BASE |
| 17 | (cd ${OUT_DIR} && \ |
| 18 | make ${CC_LD_ARG} O=${OUT_DIR} olddefconfig) |
| 19 | } |
| 20 | |