summaryrefslogtreecommitdiffstats
path: root/pci/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pci/Makefile')
-rw-r--r--pci/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/pci/Makefile b/pci/Makefile
new file mode 100644
index 0000000..8b6a333
--- /dev/null
+++ b/pci/Makefile
@@ -0,0 +1,11 @@
+obj-m := pci_skel.o
+
+KERNELDIR ?= /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+
+all:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD)
+
+clean:
+ rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
+