summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libiconv
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-20 14:20:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-23 16:45:06 +0100
commitf3e2ccff952f148522a09c09e0dea92e59bab5b6 (patch)
treecca266950b2433b60da9df29e1631b93ae6929a8 /meta/recipes-support/libiconv
parent90bccaa290d2bc04c7ea1bbeb2cddb3509d0d380 (diff)
downloadopenembedded-core-f3e2ccff952f148522a09c09e0dea92e59bab5b6.tar.gz
openembedded-core-f3e2ccff952f148522a09c09e0dea92e59bab5b6.tar.bz2
openembedded-core-f3e2ccff952f148522a09c09e0dea92e59bab5b6.zip
libiconv: skip recipe if using eglibc
libiconv is provided for use with uClibc - if you build it together with eglibc (which already PROVIDES virtual/libiconv) you can end up with dependency problems during do_rootfs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/libiconv')
-rw-r--r--meta/recipes-support/libiconv/libiconv_1.11.1.bb5
-rw-r--r--meta/recipes-support/libiconv/libiconv_1.14.bb5
2 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-support/libiconv/libiconv_1.11.1.bb b/meta/recipes-support/libiconv/libiconv_1.11.1.bb
index 186a5a17b8..055e20d4f1 100644
--- a/meta/recipes-support/libiconv/libiconv_1.11.1.bb
+++ b/meta/recipes-support/libiconv/libiconv_1.11.1.bb
@@ -20,6 +20,11 @@ S = "${WORKDIR}/libiconv-${PV}"
inherit autotools pkgconfig gettext
+python __anonymous() {
+ if d.getVar("TCLIBC", True) == "eglibc":
+ raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv")
+}
+
EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable"
LEAD_SONAME = "libiconv.so"
diff --git a/meta/recipes-support/libiconv/libiconv_1.14.bb b/meta/recipes-support/libiconv/libiconv_1.14.bb
index af33d6bc95..6666866a90 100644
--- a/meta/recipes-support/libiconv/libiconv_1.14.bb
+++ b/meta/recipes-support/libiconv/libiconv_1.14.bb
@@ -21,6 +21,11 @@ S = "${WORKDIR}/libiconv-${PV}"
inherit autotools pkgconfig gettext
+python __anonymous() {
+ if d.getVar("TCLIBC", True) == "eglibc":
+ raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv")
+}
+
EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable"
LEAD_SONAME = "libiconv.so"