diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | Makefile | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d482f3d --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +/*.mod +/*.mod.* +/*.ko +/*.o +/*.cmd +/Module.symvers +/modules.order diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2c6eacb --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +obj-m += etcfs.o + +all: + make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules + +clean: + make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |