From f6305d135ea422342a5eedce2e268508a6df0968 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 29 Jan 2014 15:51:57 -0300 Subject: [PATCH] rng-tools: argp-standalone required for uclibc toolchains only Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/rng-tools/Config.in | 2 +- package/rng-tools/rng-tools.mk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/rng-tools/Config.in b/package/rng-tools/Config.in index e6dcf9daa0..c50a8c084a 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 ae0bf14ed2..56858e7ead 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 -- 2.30.2