python-cryptography: bump to version 1.7.2
[buildroot-gz.git] / package / batman-adv / batman-adv.mk
blob256781f0f2ac8ffcc57c1a507e90ffa237f5afec
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_LICENSE = GPLv2
11 # Bridge Loop Avoidance, Distributed Arp Table are always enabled
12 BATMAN_ADV_CFLAGS = \
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)" \
20 CONFIG_BATMAN_ADV=m \
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
31 endef
33 $(eval $(kernel-module))
34 $(eval $(generic-package))