aboutsummaryrefslogtreecommitdiff
path: root/mod/Makefile
blob: 0c25810ac7eacb1212d911b911319d09bc27f952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ifneq ($(KERNELRELEASE),)
include Kbuild
else
KDIR ?= /lib/modules/`uname -r`/build

modules:
	@$(MAKE) -C $(KDIR) M=$$PWD modules

clean:
	@$(MAKE) -C $(KDIR) M=$$PWD clean

install:
	@$(MAKE) -C $(KDIR) M=$$PWD modules_install
	@depmod -a

endif