Skip to content

Instantly share code, notes, and snippets.

@xabbu
Last active March 29, 2020 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xabbu/42c92723f1b91684bcdadeecaed24a21 to your computer and use it in GitHub Desktop.
Save xabbu/42c92723f1b91684bcdadeecaed24a21 to your computer and use it in GitHub Desktop.
diff -ur rr64xl-linux-src-v1.4.0-a/inc/linux_32mpa/Makefile.def rr64xl-linux-src-v1.4.0-b/inc/linux_32mpa/Makefile.def
--- rr64xl-linux-src-v1.4.0-a/inc/linux_32mpa/Makefile.def 2016-09-19 20:40:55.000000000 +0200
+++ rr64xl-linux-src-v1.4.0-b/inc/linux_32mpa/Makefile.def 2020-03-29 12:06:05.433748827 +0200
@@ -107,7 +107,7 @@
TARGET := $(TARGETNAME).ko
$(TARGETNAME).ko: $(CURDIR)/.build/Makefile
- @$(MAKE) -C $(KERNELDIR) SUBDIRS=$(CURDIR)/.build modules
+ @$(MAKE) -C $(KERNELDIR) KBUILD_EXTMOD=$(CURDIR)/.build modules
@cp -f $(CURDIR)/.build/$(TARGETNAME).ko $(CURDIR)/
.PHONY: $(CURDIR)/.build/Makefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment