1 ################################################################################
5 ################################################################################
7 BATMAN_ADV_VERSION
= 2016.1
8 BATMAN_ADV_SITE
= https
://downloads.open-mesh.org
/batman
/stable
/sources
/batman-adv
9 BATMAN_ADV_LICENSE
= GPLv2
11 # Bridge Loop Avoidance, Distributed Arp Table are always enabled
13 -I
$(@D
)/compat-include
/ \
14 -include $(@D
)/compat.h \
15 -DBATADV_SOURCE_VERSION
=\"\\\"$(BATMAN_ADV_VERSION
)\\\"\"
16 BATMAN_ADV_MODULE_MAKE_OPTS
= \
17 KVER
=$(LINUX_VERSION_PROBED
) \
18 INSTALL_MOD_DIR
=updates
/net
/batman-adv \
19 NOSTDINC_FLAGS
="$(BATMAN_ADV_CFLAGS)" \
21 CONFIG_BATMAN_ADV_BATMAN_V
=$(BR2_PACKAGE_BATMAN_ADV_BATMAN_V
) \
22 CONFIG_BATMAN_ADV_BLA
=y \
23 CONFIG_BATMAN_ADV_DAT
=y \
24 CONFIG_BATMAN_ADV_DEBUG
=$(BR2_PACKAGE_BATMAN_ADV_DEBUG
) \
25 CONFIG_BATMAN_ADV_MCAST
=y \
26 CONFIG_BATMAN_ADV_NC
=$(BR2_PACKAGE_BATMAN_ADV_NC
)
27 BATMAN_ADV_MODULE_SUBDIRS
= net
/batman-adv
29 define BATMAN_ADV_CONFIGURE_CMDS
30 $(BATMAN_ADV_MODULE_MAKE_OPTS
) $(@D
)/gen-compat-autoconf.sh
$(@D
)/compat-autoconf.h
33 $(eval
$(kernel-module
))
34 $(eval
$(generic-package
))