summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-12-19 16:39:52 +0100
committerPeter Zijlstra <peterz@infradead.org>2026-01-05 16:43:27 +0100
commit9b00c1609deeb7d6f68a61f3ec6988ab7e6f4535 (patch)
tree0dc1a17f19a34aeed2e9df1c48407be835a2db4e /lib/Makefile
parent3269701cb25662ae8a9771a864201116626adb50 (diff)
downloadlinux-9b00c1609deeb7d6f68a61f3ec6988ab7e6f4535.tar.gz
linux-9b00c1609deeb7d6f68a61f3ec6988ab7e6f4535.tar.bz2
linux-9b00c1609deeb7d6f68a61f3ec6988ab7e6f4535.zip
compiler-context-analysis: Add test stub
Add a simple test stub where we will add common supported patterns that should not generate false positives for each new supported context lock. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20251219154418.3592607-4-elver@google.com
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index aaf677cf4527..89defefbf6c0 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -331,4 +331,7 @@ obj-$(CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED) += devmem_is_allowed.o
obj-$(CONFIG_FIRMWARE_TABLE) += fw_table.o
+CONTEXT_ANALYSIS_test_context-analysis.o := y
+obj-$(CONFIG_CONTEXT_ANALYSIS_TEST) += test_context-analysis.o
+
subdir-$(CONFIG_FORTIFY_SOURCE) += test_fortify