You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
629 B
20 lines
629 B
DEFCONFIG=gki_defconfig
|
|
POST_DEFCONFIG_CMDS="check_defconfig && update_kprobes_config"
|
|
function update_kprobes_config() {
|
|
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
|
-d LTO_CLANG_THIN \
|
|
-d LTO_CLANG_FULL \
|
|
-d CFI_PERMISSIVE \
|
|
-d CFI_CLANG \
|
|
-e CONFIG_DYNAMIC_FTRACE \
|
|
-e CONFIG_FUNCTION_TRACER \
|
|
-e CONFIG_IRQSOFF_TRACER \
|
|
-e CONFIG_FUNCTION_PROFILER \
|
|
-e CONFIG_PREEMPT_TRACER \
|
|
-e CONFIG_CHECKPOINT_RESTORE \
|
|
-d CONFIG_RANDOMIZE_BASE
|
|
(cd ${OUT_DIR} && \
|
|
make ${CC_LD_ARG} O=${OUT_DIR} olddefconfig)
|
|
}
|
|
|