batman-adv: Drop compat-sources build
authorSven Eckelmann <sven@narfation.org>
Fri, 24 Apr 2020 17:01:20 +0000 (19:01 +0200)
committerSven Eckelmann <sven@narfation.org>
Fri, 24 Apr 2020 17:01:20 +0000 (19:01 +0200)
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>
batman-adv/Makefile

index 0b86592c6875ad0599d6d7fca70148d992f19f8f..4d2def3a3a61029d5a276e469abac7546ab64326 100644 (file)
@@ -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)" \