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_SOURCE
= batman-adv-
$(BATMAN_ADV_VERSION
).
tar.gz
10 BATMAN_ADV_LICENSE
= GPLv2
12 # Bridge Loop Avoidance, Distributed Arp Table are always enabled
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)" \
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
34 $(eval
$(kernel-module
))
35 $(eval
$(generic-package
))