Skip to content

Commit

Permalink
Use 'M' rather than 'SUBDIRS' for kernel 5.3 and later
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
macsforme authored and jamesturton committed Jun 17, 2021
1 parent ebc7191 commit 70bddd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/linux/Makefile.def
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ ifneq ($(KERNEL_VER), 2.4)
TARGET := $(TARGETNAME).ko

$(TARGETNAME).ko: $(CURDIR)/.build/Makefile
@$(MAKE) -C $(KERNELDIR) SUBDIRS=$(CURDIR)/.build modules
@$(MAKE) -C $(KERNELDIR) M=$(CURDIR)/.build modules
@cp -f $(CURDIR)/.build/$(TARGETNAME).ko $(CURDIR)/

.PHONY: $(CURDIR)/.build/Makefile
Expand Down

0 comments on commit 70bddd0

Please sign in to comment.