mirror of https://github.com/OpenIPC/firmware.git
22 lines
651 B
Diff
22 lines
651 B
Diff
diff -drupN a/kernel/Makefile b/kernel/Makefile
|
|
--- a/kernel/Makefile 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/kernel/Makefile 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -32,6 +32,9 @@ KASAN_SANITIZE_kcov.o := n
|
|
# cond_syscall is currently not LTO compatible
|
|
CFLAGS_sys_ni.o = $(DISABLE_LTO)
|
|
|
|
+# Don't instrument error handlers
|
|
+CFLAGS_cfi.o = $(DISABLE_CFI_CLANG)
|
|
+
|
|
obj-y += sched/
|
|
obj-y += locking/
|
|
obj-y += power/
|
|
@@ -101,6 +104,7 @@ obj-$(CONFIG_TRACEPOINTS) += trace/
|
|
obj-$(CONFIG_IRQ_WORK) += irq_work.o
|
|
obj-$(CONFIG_CPU_PM) += cpu_pm.o
|
|
obj-$(CONFIG_BPF) += bpf/
|
|
+obj-$(CONFIG_CFI_CLANG) += cfi.o
|
|
|
|
obj-$(CONFIG_PERF_EVENTS) += events/
|
|
|