summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/rng-tools/rng-tools_5.bb
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-02-25 12:30:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:33:06 +0000
commit6c8abead0f2d7a06adf6cc4c16047a86ab3ff73d (patch)
treefa77907c88d796ef40e024d3f685d067f70efe18 /meta/recipes-support/rng-tools/rng-tools_5.bb
parentc7e5a38d232b97da81eb87aa1ef520c65c4692b4 (diff)
downloadpoky-6c8abead0f2d7a06adf6cc4c16047a86ab3ff73d.tar.gz
uclibc support for rng-tools
Uclibc has its own argp implemented as libuargp. So, we add a new option --enable-uclibc to select it. (From OE-Core rev: 0bbbc0b377e4fd9a788f5aa7688afa5516e263dd) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/rng-tools/rng-tools_5.bb')
-rw-r--r--meta/recipes-support/rng-tools/rng-tools_5.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools_5.bb b/meta/recipes-support/rng-tools/rng-tools_5.bb
index bc679904eb..53d2d6165e 100644
--- a/meta/recipes-support/rng-tools/rng-tools_5.bb
+++ b/meta/recipes-support/rng-tools/rng-tools_5.bb
@@ -6,6 +6,7 @@ SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${BP}.tar.gz \
6 file://0001-If-the-libc-is-lacking-argp-use-libargp.patch \ 6 file://0001-If-the-libc-is-lacking-argp-use-libargp.patch \
7 file://0002-Add-argument-to-control-the-libargp-dependency.patch \ 7 file://0002-Add-argument-to-control-the-libargp-dependency.patch \
8 file://underquote.patch \ 8 file://underquote.patch \
9 file://uclibc-libuargp-configure.patch \
9 file://init \ 10 file://init \
10 file://default" 11 file://default"
11 12
@@ -23,8 +24,9 @@ inherit autotools update-rc.d
23 24
24PACKAGECONFIG = "libgcrypt" 25PACKAGECONFIG = "libgcrypt"
25PACKAGECONFIG_libc-musl = "libargp" 26PACKAGECONFIG_libc-musl = "libargp"
26PACKAGECONFIG_libc-uclibc = "libargp" 27PACKAGECONFIG_libc-uclibc = "libuargp"
27PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone," 28PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone,"
29PACKAGECONFIG[libuargp] = "--enable-uclibc,,,"
28PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt," 30PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt,"
29 31
30do_install_append() { 32do_install_append() {