Commit 94e14701 authored by Gregory Hermant's avatar Gregory Hermant Committed by Peter Korsgaard
Browse files

bcusdk: new package



[Peter: tweak comment]
[Thomas: various fixes/improvements]
Signed-off-by: default avatarGregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 468e9595
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -633,6 +633,7 @@ source "package/argus/Config.in"
source "package/arptables/Config.in"
source "package/avahi/Config.in"
source "package/axel/Config.in"
source "package/bcusdk/Config.in"
source "package/bluez_utils/Config.in"
source "package/boa/Config.in"
source "package/bind/Config.in"
+22 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_BCUSDK
	bool "bcusdk"
	depends on BR2_INSTALL_LIBSTDCPP
	select BR2_PACKAGE_LIBPTHSEM
	help
	  A free development environment for the Bus Coupling Units of
	  the European Installation Bus.

	  The European Installation Bus EIB is a home and building
	  automation bus system. It is optimized for low-speed control
	  applications like lighting and blinds control.

	  BCUs (Bus Coupling Units) are standardized, generic
	  platforms for embedded EIB devices. They include the entire
	  physical layer network interface, power supply and a
	  microcontroller with an implementation of the EIB protocol
	  stack stored in the ROM.

	  http://www.auto.tuwien.ac.at/~mkoegler/eib/

comment "bcusdk requires a toolchain with C++ support"
	depends on !BR2_INSTALL_LIBSTDCPP
+26 −0
Original line number Diff line number Diff line
#############################################################
#
# bcusck
#
#############################################################

BCUSDK_VERSION = 0.0.5
BCUSDK_SOURCE = bcusdk_$(BCUSDK_VERSION).tar.gz
BCUSDK_SITE = http://www.auto.tuwien.ac.at/~mkoegler/eib/
BCUSDK_LICENSE = GPLv2+
BCUSDK_LICENSE_FILES = COPYING
BCUSDK_INSTALL_STAGING = YES
BCUSDK_CONF_OPT =  --enable-onlyeibd --enable-ft12 --enable-pei16 \
		 --enable-eibnetip --enable-eibnetipserver \
		 --enable-eibnetiptunnel --without-pth-test \
		 --with-pth=$(STAGING_DIR)/usr

BCUSDK_DEPENDENCIES = libpthsem

define BCUSDK_REMOVE_EXAMPLES
	$(RM) -rf $(TARGET_DIR)/usr/share/bcusdk
endef

BCUSDK_POST_INSTALL_TARGET_HOOKS += BCUSDK_REMOVE_EXAMPLES

$(eval $(autotools-package))