summaryrefslogtreecommitdiff
path: root/samples/trace_events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/trace_events/Makefile')
-rw-r--r--samples/trace_events/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/trace_events/Makefile b/samples/trace_events/Makefile
new file mode 100644
index 000000000000..06c6dea1eb84
--- /dev/null
+++ b/samples/trace_events/Makefile
@@ -0,0 +1,8 @@
+# builds the trace events example kernel modules;
+# then to use one (as root): insmod <module_name.ko>
+
+PWD := $(shell pwd)
+
+CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/
+
+obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o