xref: /OK3568_Linux_fs/buildroot/package/bcusdk/bcusdk.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# bcusdk
4#
5################################################################################
6
7BCUSDK_VERSION = 0.0.5
8BCUSDK_SOURCE = bcusdk_$(BCUSDK_VERSION).tar.gz
9BCUSDK_SITE = http://www.auto.tuwien.ac.at/~mkoegler/eib
10BCUSDK_LICENSE = GPL-2.0+
11BCUSDK_LICENSE_FILES = COPYING
12BCUSDK_INSTALL_STAGING = YES
13BCUSDK_CONF_OPTS = \
14	--enable-onlyeibd \
15	--enable-ft12 \
16	--enable-pei16 \
17	--enable-tpuarts \
18	--enable-eibnetip \
19	--enable-eibnetipserver \
20	--enable-eibnetiptunnel \
21	--without-pth-test \
22	--with-pth=$(STAGING_DIR)/usr
23
24BCUSDK_DEPENDENCIES = \
25	libpthsem \
26	$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
27
28define BCUSDK_REMOVE_EXAMPLES
29	$(RM) -rf $(TARGET_DIR)/usr/share/bcusdk
30endef
31
32BCUSDK_POST_INSTALL_TARGET_HOOKS += BCUSDK_REMOVE_EXAMPLES
33
34$(eval $(autotools-package))
35