summaryrefslogtreecommitdiff
path: root/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2020-04-24 19:01:20 +0200
committerSven Eckelmann <sven@narfation.org>2020-04-24 19:01:20 +0200
commit0aa846dec7a847c6800fcf6a22d5441983ae3120 (patch)
treeeac0858614930392e51b18722e521384b17b5cc8 /batman-adv
parentf43bc856470af999aad85a09c1c4fceb68325386 (diff)
batman-adv: Drop compat-sources build
The compat-sources are no longer needed for kernels >= 4.4. Older kernel versions are not used since a while in OpenWrt. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'batman-adv')
-rw-r--r--batman-adv/Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/batman-adv/Makefile b/batman-adv/Makefile
index 0b86592..4d2def3 100644
--- a/batman-adv/Makefile
+++ b/batman-adv/Makefile
@@ -73,13 +73,7 @@ NOSTDINC_FLAGS = \
-include $(PKG_BUILD_DIR)/compat-hacks.h \
-DBATADV_SOURCE_VERSION=\\\"$(PKG_VERSION)-openwrt-$(PKG_RELEASE)\\\"
-COMPAT_SOURCES = \
- $(if $(CONFIG_BATMAN_ADV_MCAST),../../compat-sources/net/core/skbuff.o,) \
- $(if $(CONFIG_BATMAN_ADV_MCAST),../../compat-sources/net/ipv4/igmp.o,) \
- $(if $(CONFIG_BATMAN_ADV_MCAST),../../compat-sources/net/ipv6/mcast_snoop.o,) \
-
define Build/Compile
- +env "batman-adv-y=$(COMPAT_SOURCES)" \
$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \