mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 19:14:31 +04:00
batman-adv: replace SUBDIRS with M kernel build recipe
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>
This commit is contained in:
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user