summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2008-11-26 13:16:21 -0500
committerTom Rini <trini@embeddedalley.com>2008-11-26 13:16:21 -0500
commit9bff47f7ff546af5dfc2e3491e0327904ad6ee37 (patch)
treeec3fe5229056a152af1c3ba39e2c37e1df9811e8
parentd14dd19f5ec3cae1d2c1a61580318599f9e4dc1b (diff)
task-sdk, task-sdk-bare: Update and abstract to support uclibc
task-sdk.bb provided only a task-sdk-bare package, which uclibc, but bitbake would use task-sdk-bare.bb instead. Update task-sdk-bare.bb to have glibc / uclibc abstractions and delete task-sdk.bb
-rw-r--r--packages/tasks/task-sdk-bare.bb12
-rw-r--r--packages/tasks/task-sdk.bb22
2 files changed, 11 insertions, 23 deletions
diff --git a/packages/tasks/task-sdk-bare.bb b/packages/tasks/task-sdk-bare.bb
index d2d40f64b3..ea0ab319e3 100644
--- a/packages/tasks/task-sdk-bare.bb
+++ b/packages/tasks/task-sdk-bare.bb
@@ -5,7 +5,7 @@ ALLOW_EMPTY = "1"
PACKAGES = "${PN}"
-RDEPENDS_${PN} = "\
+GLIBC_PKGS = "\
glibc \
glibc-dbg \
glibc-dev \
@@ -18,6 +18,16 @@ RDEPENDS_${PN} = "\
glibc-gconv-iso8859-1 \
glibc-gconv-iso8859-15 \
locale-base-en-gb \
+ "
+
+LIBC_PKGS_linux = "${GLIBC_PKGS}"
+LIBC_PKGS_linux-gnueabi = "${GLIBC_PKGS}"
+LIBC_PKGS_linux-uclibc = "uclibc uclibc-dev"
+LIBC_PKGS_linux-uclibcgnueabi = "uclibc uclibc-dev"
+
+RDEPENDS_${PN} = "\
+ ${LIBC_PKGS} \
libgcc \
libstdc++ \
+ libstdc++-dev \
"
diff --git a/packages/tasks/task-sdk.bb b/packages/tasks/task-sdk.bb
deleted file mode 100644
index 79e9fefc2a..0000000000
--- a/packages/tasks/task-sdk.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "SDK packages"
-PR = "r8"
-LICENSE = "MIT"
-ALLOW_EMPTY = "1"
-
-PACKAGES = "\
- task-sdk-bare \
- "
-
-DEPENDS = "virtual/libc"
-
-LIBC_linux = "glibc"
-LIBC_linux-uclibc = "uclibc"
-LIBC_linux-gnueabi = "glibc"
-LIBC_linux-uclibcgnueabi = "uclibc"
-
-
-RDEPENDS_task-sdk-bare = "\
- ${LIBC} \
- ${LIBC}-dev \
- libgcc \
- "