summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-06 18:33:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-11 13:44:07 +0100
commit6482f276533f3a177e07def9d616958d9bbc10c6 (patch)
treed32ad146526f96ce78b4cb9531dd07cb9353d1ff
parent9e00a74749ba8e1cf0d15efe8e16af60b189e080 (diff)
downloadopenembedded-core-6482f276533f3a177e07def9d616958d9bbc10c6.tar.gz
openembedded-core-6482f276533f3a177e07def9d616958d9bbc10c6.tar.bz2
openembedded-core-6482f276533f3a177e07def9d616958d9bbc10c6.zip
task-self-hosted.bb,task-core-lsb.bb: Conditionalize pth inclusion
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>
-rw-r--r--meta/recipes-core/tasks/task-self-hosted.bb4
-rw-r--r--meta/recipes-extended/tasks/task-core-lsb.bb6
2 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-core/tasks/task-self-hosted.bb b/meta/recipes-core/tasks/task-self-hosted.bb
index 64e01bbc21..61d08ed585 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -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 = ""
diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core-lsb.bb
index 4faf4d74e2..553b89e860 100644
--- a/meta/recipes-extended/tasks/task-core-lsb.bb
+++ b/meta/recipes-extended/tasks/task-core-lsb.bb
@@ -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 = ""
+