aboutsummaryrefslogtreecommitdiff
path: root/package/linux-zigbee/linux-zigbee.mk
blob: 3001eefa6149951a51d5866e4ff33e6f1cc6492f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
################################################################################
#
# linux-zigbee
#
################################################################################

LINUX_ZIGBEE_VERSION = v0.3.1
LINUX_ZIGBEE_SITE = git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee
LINUX_ZIGBEE_LICENSE = GPLv2
LINUX_ZIGBEE_LICENSE_FILES = COPYING
LINUX_ZIGBEE_DEPENDENCIES = libnl host-pkgconf host-flex host-bison

# We patch configure.ac/Makefile.am
LINUX_ZIGBEE_AUTORECONF = YES

LINUX_ZIGBEE_CONF_OPT = \
	--disable-manpages \
	--with-leasefile="$(call qstrip,$(BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE))"

ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_TESTS),y)
LINUX_ZIGBEE_CONF_OPT += --with-zbtestdir='/usr/sbin/'
else
LINUX_ZIGBEE_CONF_OPT += --with-zbtestdir=''
endif

ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_OLD_KERNEL_COMPAT),y)
LINUX_ZIGBEE_CONF_OPT += --enable-kernel-compat
endif

$(eval $(autotools-package))