bbswitch-g14/Makefile
Lekensteyn f4c2fadaf5 Revert "Load module dependency on make load: wmi"
This reverts commit fd74ba5bd8e12761543b360619ceb3b9d8cb4adf.
2012-01-28 10:56:58 +01:00

17 lines
279 B
Makefile

modname := bbswitch
obj-m := $(modname).o
KVERSION := $(shell uname -r)
KDIR := /lib/modules/$(KVERSION)/build
PWD := "$$(pwd)"
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
load:
-/sbin/rmmod $(modname)
/sbin/insmod $(modname).ko