toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / batman-adv / batman-adv.mk
blob0691773e7a758f2f52966b484da254819c1b20b6
1 ################################################################################
3 # batman-adv
5 ################################################################################
7 BATMAN_ADV_VERSION = 2016.1
8 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv
9 BATMAN_ADV_SOURCE = batman-adv-$(BATMAN_ADV_VERSION).tar.gz
10 BATMAN_ADV_LICENSE = GPLv2
12 # Bridge Loop Avoidance, Distributed Arp Table are always enabled
13 BATMAN_ADV_CFLAGS = \
14 -I$(@D)/compat-include/ \
15 -include $(@D)/compat.h \
16 -DBATADV_SOURCE_VERSION=\"\\\"$(BATMAN_ADV_VERSION)\\\"\"
17 BATMAN_ADV_MODULE_MAKE_OPTS = \
18 KVER=$(LINUX_VERSION_PROBED) \
19 INSTALL_MOD_DIR=updates/net/batman-adv \
20 NOSTDINC_FLAGS="$(BATMAN_ADV_CFLAGS)" \
21 CONFIG_BATMAN_ADV=m \
22 CONFIG_BATMAN_ADV_BATMAN_V=$(BR2_PACKAGE_BATMAN_ADV_BATMAN_V) \
23 CONFIG_BATMAN_ADV_BLA=y \
24 CONFIG_BATMAN_ADV_DAT=y \
25 CONFIG_BATMAN_ADV_DEBUG=$(BR2_PACKAGE_BATMAN_ADV_DEBUG) \
26 CONFIG_BATMAN_ADV_MCAST=y \
27 CONFIG_BATMAN_ADV_NC=$(BR2_PACKAGE_BATMAN_ADV_NC)
28 BATMAN_ADV_MODULE_SUBDIRS = net/batman-adv
30 define BATMAN_ADV_CONFIGURE_CMDS
31 $(BATMAN_ADV_MODULE_MAKE_OPTS) $(@D)/gen-compat-autoconf.sh $(@D)/compat-autoconf.h
32 endef
34 $(eval $(kernel-module))
35 $(eval $(generic-package))