summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/makefile1
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.context/makefile1')
-rw-r--r--testsuite/systemtap.context/makefile18
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.context/makefile1 b/testsuite/systemtap.context/makefile1
new file mode 100644
index 00000000..73b6f1a2
--- /dev/null
+++ b/testsuite/systemtap.context/makefile1
@@ -0,0 +1,8 @@
+obj-m := systemtap_test_module1.o
+KDIR := /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+default:
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
+clean:
+ rm -f *.mod.c systemtap_test_module1.ko *.o .*.cmd Modules.symvers
+ rm -rf .tmp_versions