aboutsummaryrefslogtreecommitdiff
path: root/ks/Makefile
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-11 01:51:36 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-11 01:51:36 +0300
commit017598b41e59aa0bdb121020c29746cd062cdec0 (patch)
treeac4227f670146feae286fa9afb0d6dbd2f41dbea /ks/Makefile
downloadgenltest-master.tar.gz
genltest-master.zip
Diffstat (limited to 'ks/Makefile')
-rw-r--r--ks/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/ks/Makefile b/ks/Makefile
new file mode 100644
index 0000000..54301de
--- /dev/null
+++ b/ks/Makefile
@@ -0,0 +1,11 @@
+KERNELDIR := /lib/modules/$(shell uname -r)/build
+# CFLAGS_genltest.o := -O0
+obj-m += genltest.o
+
+all:
+ $(MAKE) -C $(KERNELDIR) V=0 M=`pwd` modules
+clean:
+ #$(MAKE) -C $(KERNELDIR) M=`pwd` clean
+ @rm -f *.ko *.o modules.order Module.symvers *.mod.? *~
+ @rm -rf .tmp_versions .cache.mk *.ur-safe *.mod
+