Browse Source

bcusdk: needs argp-standalone on uClibc

Fixes:
http://autobuild.buildroot.net/results/181/181f12d3a46ef10113ab47f75ccf57cfc1b6210f/
http://autobuild.buildroot.net/results/25c/25cb21dd5a0dad318c498fcf7a889ae2ce93c697/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 10 năm trước cách đây
mục cha
commit
25206d6e26
2 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 1 0
      package/bcusdk/Config.in
  2. 4 1
      package/bcusdk/bcusdk.mk

+ 1 - 0
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.

+ 4 - 1
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