2014-05-03 19:48:00 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# linux-zigbee
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-10-27 09:55:22 +01:00
|
|
|
LINUX_ZIGBEE_VERSION = 0.3.1
|
|
|
|
LINUX_ZIGBEE_SOURCE = lowpan-tools-$(LINUX_ZIGBEE_VERSION).tar.gz
|
|
|
|
LINUX_ZIGBEE_SITE = \
|
|
|
|
http://downloads.sourceforge.net/project/linux-zigbee/linux-zigbee-sources/$(LINUX_ZIGBEE_VERSION)
|
2017-03-30 15:43:32 +02:00
|
|
|
LINUX_ZIGBEE_LICENSE = GPL-2.0
|
2014-05-03 19:48:00 +02:00
|
|
|
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
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LINUX_ZIGBEE_CONF_OPTS = \
|
2014-05-03 19:48:00 +02:00
|
|
|
--disable-manpages \
|
2017-07-21 00:04:32 +02:00
|
|
|
--disable-werror \
|
2014-05-03 19:48:00 +02:00
|
|
|
--with-leasefile="$(call qstrip,$(BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE))"
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_TESTS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LINUX_ZIGBEE_CONF_OPTS += --with-zbtestdir='/usr/sbin/'
|
2014-05-03 19:48:00 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LINUX_ZIGBEE_CONF_OPTS += --with-zbtestdir=''
|
2014-05-03 19:48:00 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_OLD_KERNEL_COMPAT),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LINUX_ZIGBEE_CONF_OPTS += --enable-kernel-compat
|
2014-05-03 19:48:00 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|