]> code.ossystems Code Review - openembedded-core.git/commitdiff
task-self-hosted.bb,task-core-lsb.bb: Conditionalize pth inclusion
authorKhem Raj <raj.khem@gmail.com>
Thu, 7 Jun 2012 01:33:28 +0000 (18:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jun 2012 12:44:07 +0000 (13:44 +0100)
pth is not portable to uclibc therefore we need to exclude it for
uclibc based systems.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-core/tasks/task-self-hosted.bb
meta/recipes-extended/tasks/task-core-lsb.bb

index 64e01bbc21406202d9a65496cf990e6cf5c6c02c..61d08ed585b8a05ed2fecdb32d2b73be504ce08c 100644 (file)
@@ -137,7 +137,7 @@ RDEPENDS_task-self-hosted-extended = "\
     perl-dev \
     perl-modules \
     perl-pod \
-    pth \
+    ${PTH} \
     python \
     python-compile \
     python-compiler \
@@ -199,3 +199,5 @@ RDEPENDS_task-self-hosted-graphics = "\
     python-pygtk \
     gtk-theme-clearlooks \
     "
+PTH = "pth"
+PTH_libc-uclibc = ""
index 4faf4d74e21fbd1eb4520fc4bbb616a30162655e..553b89e860dd7e9e5022c2eb7732071c36bd8303 100644 (file)
@@ -70,7 +70,7 @@ RDEPENDS_task-core-sys-extended = "\
     minicom \
     neon \
     parted \
-    pth \
+    ${PTH} \
     quota \
     screen \
     setserial \
@@ -197,3 +197,7 @@ RDEPENDS_task-core-lsb-runtime-add = "\
     eglibc-pic \
     eglibc-utils \
 "
+
+PTH = "pth"
+PTH_libc-uclibc = ""
+