hmm
This commit is contained in:
14
nxp/opensource/driver/Makefile
Normal file
14
nxp/opensource/driver/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
|
||||
|
||||
M ?= $(shell pwd)
|
||||
|
||||
KBUILD_OPTIONS+= NFC_ROOT=$(KERNEL_SRC)/$(M)
|
||||
|
||||
all:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
||||
|
||||
modules_install:
|
||||
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
|
||||
|
||||
clean:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
|
Reference in New Issue
Block a user