1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

rng-tools: fix typo of unrecognised options: --disable-jitterntropy

- Fix typo of `--disable-jitterntropy' in both of PACKAGECONFIG and configure --help

- Enable jitterntropy for musl

(From OE-Core rev: c3b96aaa40413d66d8fc4252235e6fa27dd8db53)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hongxu Jia
2018-11-10 10:03:19 +08:00
committed by Richard Purdie
parent 3eae7a84b2
commit 4c034810e5
2 changed files with 30 additions and 2 deletions
@@ -0,0 +1,27 @@
From 99b0efebd765803203686d89bc4f995bcb103e78 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Sat, 10 Nov 2018 09:53:19 +0800
Subject: [PATCH] configure.ac: fix typo
Upstream-Status: Submitted [https://github.com/nhorman/rng-tools.git]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4e799dc..0251928 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ AS_IF([test $target_cpu = powerpc64le], [AC_DEFINE([HAVE_DARN],1,[Enable DARN])]
AM_CONDITIONAL([JITTER], [false])
AC_ARG_ENABLE(jitterentropy,
- AS_HELP_STRING([--disable-jitterntropy | --enable-jitterentropy=<path>],
+ AS_HELP_STRING([--disable-jitterentropy | --enable-jitterentropy=<path>],
[Disable jitterentropy source, or specify its location]),
[if [ test -d $enable_jitterentropy ]; then
export LDFLAGS+=-L$enable_jitterentropy;
--
2.7.4
@@ -7,6 +7,7 @@ SRC_URI = "git://github.com/nhorman/rng-tools.git \
file://0002-Add-argument-to-control-the-libargp-dependency.patch \
file://underquote.patch \
file://rng-tools-5-fix-textrels-on-PIC-x86.patch \
file://0001-configure.ac-fix-typo.patch \
file://init \
file://default \
file://rngd.service \
@@ -24,10 +25,10 @@ DEPENDS = "curl \
"
PACKAGECONFIG ??= "libgcrypt libjitterentropy"
PACKAGECONFIG_libc-musl = "libargp"
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-jitterntropy,libjitterentropy"
PACKAGECONFIG[libjitterentropy] = "--enable-jitterentropy,--disable-jitterentropy,libjitterentropy"
# Refer autogen.sh in rng-tools
do_configure_prepend() {