summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-03-06 09:43:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-06 16:26:36 +0000
commitaecf7673095b2338ae4617900e8300b9601ca483 (patch)
treeca917e6482360518a1b80331c8952c160f8f58e2 /meta
parent6417d29ece333ee2b78e6e723201336cc17c41f6 (diff)
downloadopenembedded-core-contrib-aecf7673095b2338ae4617900e8300b9601ca483.tar.gz
rng-tools: Make nistbeacon support optional
Downloading your randomness directly from the US government is a rare usecase but adds heavy dependencies. Make it optional and non-default. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/rng-tools/rng-tools_6.6.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools_6.6.bb b/meta/recipes-support/rng-tools/rng-tools_6.6.bb
index d3361ae4e1..6796c9be9e 100644
--- a/meta/recipes-support/rng-tools/rng-tools_6.6.bb
+++ b/meta/recipes-support/rng-tools/rng-tools_6.6.bb
@@ -17,9 +17,7 @@ S = "${WORKDIR}/git"
inherit autotools update-rc.d systemd pkgconfig
-DEPENDS = "curl \
- libxml2 \
- openssl \
+DEPENDS = " \
sysfsutils \
"
@@ -28,6 +26,7 @@ PACKAGECONFIG_libc-musl = "libargp libjitterentropy"
PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone,"
PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt,"
PACKAGECONFIG[libjitterentropy] = "--enable-jitterentropy,--disable-jitterentropy,libjitterentropy"
+PACKAGECONFIG[nistbeacon] = "--with-nistbeacon,--without-nistbeacon,curl libxml2 openssl"
# Refer autogen.sh in rng-tools
do_configure_prepend() {