summaryrefslogtreecommitdiffstats
path: root/samples/trace_printk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/trace_printk/Makefile')
-rw-r--r--samples/trace_printk/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/samples/trace_printk/Makefile b/samples/trace_printk/Makefile
new file mode 100644
index 000000000..c0df36167
--- /dev/null
+++ b/samples/trace_printk/Makefile
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
+# builds a module that calls various trace_printk routines
+# then to use one (as root): insmod <module_name.ko>
+
+# This module can also be used to test the trace_printk code.
+
+obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace-printk.o