]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
bcusdk: needs argp-standalone on uClibc
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 3 May 2015 11:33:02 +0000 (13:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 May 2015 11:33:02 +0000 (13:33 +0200)
Fixes:
http://autobuild.buildroot.net/results/181/181f12d3a46ef10113ab47f75ccf57cfc1b6210f/
http://autobuild.buildroot.net/results/25c/25cb21dd5a0dad318c498fcf7a889ae2ce93c697/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/bcusdk/Config.in
package/bcusdk/bcusdk.mk

index 658c5921ea183235d0c54a2990227a04d8572b74..72deef154bbfb0f1bac65bc5041033b55c98bcc6 100644 (file)
@@ -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.
index 80c98af08aa59afbb37c81dcab06931e74230a11..697b5ce2372926aaf80191343f201f50339b096d 100644 (file)
@@ -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