Patchwork [13/16] task-self-hosted.bb, task-core-lsb.bb: Conditionalize pth inclusion

login
register
mail settings
Submitter Khem Raj
Date June 9, 2012, 4:43 p.m.
Message ID <e3bca662121b51a9e8e31d9beaca96687b637352.1339259893.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/29579/
State Accepted
Commit 6482f276533f3a177e07def9d616958d9bbc10c6
Headers show

Comments

Khem Raj - June 9, 2012, 4:43 p.m.
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  |    4 +++-
 meta/recipes-extended/tasks/task-core-lsb.bb |    6 +++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb b/meta/recipes-core/tasks/task-self-hosted.bb
index 64e01bb..61d08ed 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 4faf4d7..553b89e 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 = ""
+