summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-09 09:43:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-11 13:49:50 +0100
commit1988bc0ad4f310a8b44d169510ac22e0d8cc3893 (patch)
tree001b87e2ca0eb9cc046760ff0b4eb1c3bdf307a6
parent00330a3ad0db9437a5bcb3b71fe00bed4e085768 (diff)
downloadpoky-1988bc0ad4f310a8b44d169510ac22e0d8cc3893.tar.gz
poky-1988bc0ad4f310a8b44d169510ac22e0d8cc3893.tar.bz2
poky-1988bc0ad4f310a8b44d169510ac22e0d8cc3893.zip
pth: Mark incompatible with uclibc
pth does not work with uclibc (From OE-Core rev: b7c12dd4424f0702c21b1b856af4578d9a4abc90) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/pth/pth_2.0.7.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-support/pth/pth_2.0.7.bb b/meta/recipes-support/pth/pth_2.0.7.bb
index 61865b7242..cdd5eafdd0 100644
--- a/meta/recipes-support/pth/pth_2.0.7.bb
+++ b/meta/recipes-support/pth/pth_2.0.7.bb
@@ -3,9 +3,17 @@ HOMEPAGE = "http://www.gnu.org/software/pth/"
SECTION = "libs"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;beginline=12;endline=15;md5=a48af114a80c222cafd37f24370a77b1"
-PR = "r1"
+PR = "r2"
-SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz"
+python __anonymous () {
+ import bb, re
+ uc_os = (re.match('.*uclibc*', d.getVar('TARGET_OS', True)) != None)
+ if uc_os:
+ raise bb.parse.SkipPackage("incompatible with uClibc")
+}
+
+SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \
+ "
SRC_URI[md5sum] = "9cb4a25331a4c4db866a31cbe507c793"
SRC_URI[sha256sum] = "72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232"