[Buildroot] [git commit] rng-tools: argp-standalone required for uclibc toolchains only
Peter Korsgaard
peter at korsgaard.com
Wed Jan 29 20:42:49 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=f6305d135ea422342a5eedce2e268508a6df0968
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/rng-tools/Config.in | 2 +-
package/rng-tools/rng-tools.mk | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/package/rng-tools/Config.in b/package/rng-tools/Config.in
index e6dcf9d..c50a8c0 100644
--- a/package/rng-tools/Config.in
+++ b/package/rng-tools/Config.in
@@ -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.
diff --git a/package/rng-tools/rng-tools.mk b/package/rng-tools/rng-tools.mk
index ae0bf14..56858e7 100644
--- a/package/rng-tools/rng-tools.mk
+++ b/package/rng-tools/rng-tools.mk
@@ -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
More information about the buildroot
mailing list