Files
chandu078 5306f920e1 Add 'nxp/opensource/driver/' from commit '67b301a79e9a895ae7b89164e6121e109f2cb117'
git-subtree-dir: nxp/opensource/driver
git-subtree-mainline: e03949ecb7
git-subtree-split: 67b301a79e
2025-08-03 09:30:57 +05:30

15 lines
315 B
Makefile

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