summaryrefslogtreecommitdiffstats
path: root/package/bcusdk/bcusdk.mk
blob: 697b5ce2372926aaf80191343f201f50339b096d (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
31
32
33
34
################################################################################
#
# bcusdk
#
################################################################################

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_OPTS = \
	--enable-onlyeibd \
	--enable-ft12 \
	--enable-pei16 \
	--enable-eibnetip \
	--enable-eibnetipserver \
	--enable-eibnetiptunnel \
	--without-pth-test \
	--with-pth=$(STAGING_DIR)/usr

BCUSDK_DEPENDENCIES = \
	libpthsem \
	$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)


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

BCUSDK_POST_INSTALL_TARGET_HOOKS += BCUSDK_REMOVE_EXAMPLES

$(eval $(autotools-package))
OpenPOWER on IntegriCloud