summaryrefslogtreecommitdiffstats
path: root/mm/kfence/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kfence/Makefile')
-rw-r--r--mm/kfence/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mm/kfence/Makefile b/mm/kfence/Makefile
new file mode 100644
index 000000000..2de2a58d1
--- /dev/null
+++ b/mm/kfence/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y := core.o report.o
+
+CFLAGS_kfence_test.o := -fno-omit-frame-pointer -fno-optimize-sibling-calls
+obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o