projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bacc8c1
)
batman-adv: replace SUBDIRS with M kernel build recipe
author
Sven Eckelmann
<sven@narfation.org>
Fri, 6 Mar 2020 19:14:58 +0000
(20:14 +0100)
committer
Sven Eckelmann
<sven@narfation.org>
Sat, 7 Mar 2020 17:50:14 +0000
(18:50 +0100)
The SUBDIRS variable has been removed in kernel 5.4 and M or KBUILD_EXTMOD
has to be used instead.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/Makefile
patch
|
blob
|
history
diff --git
a/batman-adv/Makefile
b/batman-adv/Makefile
index 88f4cde8109dc69c024726c8c9cd03bffea76f4d..a81f3cc7d5a40dd8df663c9429d7be1757740738 100644
(file)
--- a/
batman-adv/Makefile
+++ b/
batman-adv/Makefile
@@
-88,7
+88,7
@@
define Build/Compile
$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
-
SUBDIRS
="$(PKG_BUILD_DIR)/net/batman-adv" \
+
M
="$(PKG_BUILD_DIR)/net/batman-adv" \
$(PKG_EXTRA_KCONFIG) \
EXTRA_CFLAGS="$(PKG_EXTRA_CFLAGS)" \
NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \