Browse Source

Make kernel 5.x stopping to complain about SUBDIR= being deprecated

Godzil 4 years ago
parent
commit
a765b0745d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kfusd/Makefile

+ 1 - 1
kfusd/Makefile

@@ -9,7 +9,7 @@ GIT_DESCRIBE = $(shell git describe --dirty --tags)
 KERNEL_VER ?= 2.6.32.7
 
 default:
-	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) EXTRA_CFLAGS="-I$(PWD)/../include -DGIT_DESCRIBE='\"${GIT_DESCRIBE}\"'" V=1 modules
+	$(MAKE) -C $(KDIR) M=$(PWD) EXTRA_CFLAGS="-I$(PWD)/../include -DGIT_DESCRIBE='\"${GIT_DESCRIBE}\"'" V=1 modules
 
 install:
 	install -d -m 0755 $(ROOTFS)/lib/modules/$(KERNEL_VER)/kernel/drivers/misc