summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/bcusdk/Config.in1
-rw-r--r--package/bcusdk/bcusdk.mk5
2 files changed, 5 insertions, 1 deletions
diff --git a/package/bcusdk/Config.in b/package/bcusdk/Config.in
index 658c5921ea..72deef154b 100644
--- a/package/bcusdk/Config.in
+++ b/package/bcusdk/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_BCUSDK
depends on BR2_USE_MMU # libpthsem
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_LIBPTHSEM
+ select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
help
A free development environment for the Bus Coupling Units of
the European Installation Bus.
diff --git a/package/bcusdk/bcusdk.mk b/package/bcusdk/bcusdk.mk
index 80c98af08a..697b5ce237 100644
--- a/package/bcusdk/bcusdk.mk
+++ b/package/bcusdk/bcusdk.mk
@@ -20,7 +20,10 @@ BCUSDK_CONF_OPTS = \
--without-pth-test \
--with-pth=$(STAGING_DIR)/usr
-BCUSDK_DEPENDENCIES = libpthsem
+BCUSDK_DEPENDENCIES = \
+ libpthsem \
+ $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
+
define BCUSDK_REMOVE_EXAMPLES
$(RM) -rf $(TARGET_DIR)/usr/share/bcusdk
OpenPOWER on IntegriCloud