rng-tools: argp-standalone required for uclibc toolchains only
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 29 Jan 2014 18:51:57 +0000 (15:51 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 29 Jan 2014 20:42:49 +0000 (21:42 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rng-tools/Config.in
package/rng-tools/rng-tools.mk

index e6dcf9daa0e8a1845a38cd90bf2f728339ca7b63..c50a8c084ab818f190031e586beb254328a6123d 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_RNG_TOOLS
        bool "rng-tools"
-       select BR2_PACKAGE_ARGP_STANDALONE
+       select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
        help
          Daemon to use hardware random number generators.
 
index ae0bf14ed2dc3c23ec774b068514fb81161389d7..56858e7ead89214171915053c737b7dcdfc30e43 100644 (file)
@@ -6,8 +6,10 @@
 
 RNG_TOOLS_VERSION = 4
 RNG_TOOLS_SITE = http://downloads.sourceforge.net/project/gkernel/rng-tools/$(RNG_TOOLS_VERSION)
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
 RNG_TOOLS_CONF_ENV = LIBS="-largp"
 RNG_TOOLS_DEPENDENCIES = argp-standalone
+endif
 RNG_TOOLS_LICENSE = GPLv2
 RNG_TOOLS_LICENSE_FILES = COPYING