diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-02-25 12:30:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:06 +0000 |
commit | 6c8abead0f2d7a06adf6cc4c16047a86ab3ff73d (patch) | |
tree | fa77907c88d796ef40e024d3f685d067f70efe18 /meta/recipes-support/rng-tools/rng-tools_5.bb | |
parent | c7e5a38d232b97da81eb87aa1ef520c65c4692b4 (diff) | |
download | poky-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.bb | 4 |
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 | ||
24 | PACKAGECONFIG = "libgcrypt" | 25 | PACKAGECONFIG = "libgcrypt" |
25 | PACKAGECONFIG_libc-musl = "libargp" | 26 | PACKAGECONFIG_libc-musl = "libargp" |
26 | PACKAGECONFIG_libc-uclibc = "libargp" | 27 | PACKAGECONFIG_libc-uclibc = "libuargp" |
27 | PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone," | 28 | PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone," |
29 | PACKAGECONFIG[libuargp] = "--enable-uclibc,,," | ||
28 | PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt," | 30 | PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt," |
29 | 31 | ||
30 | do_install_append() { | 32 | do_install_append() { |