aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 006a8f46f31f6c491a111583f66e6615dc636b83 (plain)
1
2
3
4
5
6
7
8
9
BASE_NAME = cpui-drv
PATH_TO_KERNEL_SRC := /lib/modules/$(shell uname -r)/build
obj-m += $(BASE_NAME).o

all:
	$(MAKE) -C $(PATH_TO_KERNEL_SRC) M=$(PWD) modules

clean:
	$(MAKE) -C $(PATH_TO_KERNEL_SRC) M=$(PWD) clean