diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-02-11 01:51:36 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-02-11 01:51:36 +0300 |
commit | 017598b41e59aa0bdb121020c29746cd062cdec0 (patch) | |
tree | ac4227f670146feae286fa9afb0d6dbd2f41dbea /ks/Makefile | |
download | genltest-master.tar.gz genltest-master.zip |
Diffstat (limited to 'ks/Makefile')
-rw-r--r-- | ks/Makefile | 11 |
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 + |