1 2 3 4 5 6 7
KERNEL_DIR ?= /usr/src/linux PWD := $(shell pwd) all: module module: @$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules