diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-20 17:19:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-22 18:30:05 +0100 |
commit | af8c5adc71dc9bab57504d5a9dbf9e863fd4bf7b (patch) | |
tree | d11ca073e2e53550de80b560eee00e7a6310a7c0 /meta/recipes-support/libiconv | |
parent | fe634d47449899f7424adb77ff5bc7ddf8a07a47 (diff) | |
download | openembedded-core-af8c5adc71dc9bab57504d5a9dbf9e863fd4bf7b.tar.gz openembedded-core-af8c5adc71dc9bab57504d5a9dbf9e863fd4bf7b.tar.bz2 openembedded-core-af8c5adc71dc9bab57504d5a9dbf9e863fd4bf7b.zip |
libiconv: Extend to nativesdk and support non-linux targets
This library is currently only available when targeting non-libc. This patch
also makes it available when targetting non-linux since it is likely of use
then.
It also adds a BBCLASSEXTEND for nativesdk since again, it can be useful
in that context.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libiconv')
-rw-r--r-- | meta/recipes-support/libiconv/libiconv_1.14.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/libiconv/libiconv_1.14.bb b/meta/recipes-support/libiconv/libiconv_1.14.bb index b1d2612d09..470900bca7 100644 --- a/meta/recipes-support/libiconv/libiconv_1.14.bb +++ b/meta/recipes-support/libiconv/libiconv_1.14.bb @@ -22,6 +22,8 @@ S = "${WORKDIR}/libiconv-${PV}" inherit autotools pkgconfig gettext python __anonymous() { + if d.getVar("TARGET_OS", True) != "linux": + return if d.getVar("TCLIBC", True) == "eglibc": raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv") } @@ -44,3 +46,5 @@ do_install_append () { rm -rf ${D}${libdir}/preloadable_libiconv.so rm -rf ${D}${libdir}/charset.alias } + +BBCLASSEXTEND = "nativesdk" |