aboutsummaryrefslogtreecommitdiff
path: root/ks/Makefile
blob: 54301de88d9ea42f7fb0b20598a4154112cccc10 (plain)
1
2
3
4
5
6
7
8
9
10
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