summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-06-28 11:09:21 +0000
committerRichard Purdie <richard@openedhand.com>2007-06-28 11:09:21 +0000
commitd7ff06986bac3ee9cc14d198d199f69936dc1e4c (patch)
treee3ed885dde1081935d30757e7565938ada260fa9 /meta/packages
parent40c209b79d5547297a6882d2426e96e5b0fc46eb (diff)
downloadpoky-d7ff06986bac3ee9cc14d198d199f69936dc1e4c.tar.gz
meta-toolchain: Create task-poky-standalone-sdk-host and target tasks packages and use these in meta-toolchain to avoid package renaming problems.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2038 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb20
-rw-r--r--meta/packages/tasks/task-poky-standalone-sdk-host.bb20
-rw-r--r--meta/packages/tasks/task-poky-standalone-sdk-target.bb (renamed from meta/packages/tasks/task-sdk.bb)14
3 files changed, 28 insertions, 26 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index 391adc4114..652eb25371 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -17,21 +17,9 @@ SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
17IPKG_HOST = "ipkg-cl -f ${SDK_DIR}/ipkg-host.conf -o ${SDK_OUTPUT}" 17IPKG_HOST = "ipkg-cl -f ${SDK_DIR}/ipkg-host.conf -o ${SDK_OUTPUT}"
18IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}" 18IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}"
19 19
20HOST_INSTALL = "\ 20HOST_INSTALL = "task-poky-standalone-sdk-host"
21 binutils-cross-sdk \ 21
22 gcc-cross-sdk \ 22TARGET_INSTALL = "task-poky-standalone-sdk-target"
23 g++ \
24 cpp \
25 libgcc \
26 libgcc-dev \
27 libstdc++ \
28 libstdc++-dev \
29 gdb-cross \
30 "
31
32TARGET_INSTALL = "\
33 task-sdk-bare \
34 "
35 23
36RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}" 24RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}"
37 25
@@ -60,7 +48,7 @@ EOF
60 mkdir -p ${SDK_OUTPUT} 48 mkdir -p ${SDK_OUTPUT}
61 49
62 ${IPKG_HOST} update 50 ${IPKG_HOST} update
63 ${IPKG_HOST} -nodeps install ${HOST_INSTALL} 51 ${IPKG_HOST} -force-depends install ${HOST_INSTALL}
64 52
65 ${IPKG_TARGET} update 53 ${IPKG_TARGET} update
66 ${IPKG_TARGET} install ${TARGET_INSTALL} 54 ${IPKG_TARGET} install ${TARGET_INSTALL}
diff --git a/meta/packages/tasks/task-poky-standalone-sdk-host.bb b/meta/packages/tasks/task-poky-standalone-sdk-host.bb
new file mode 100644
index 0000000000..2140e96620
--- /dev/null
+++ b/meta/packages/tasks/task-poky-standalone-sdk-host.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "Host packages for the standalone SDK (external toolchain)"
2PR = "r0"
3LICENSE = "MIT"
4ALLOW_EMPTY = "1"
5
6inherit sdk
7
8PACKAGES = "${PN}"
9
10RDEPENDS_${PN} = "\
11 binutils-cross-sdk \
12 gcc-cross-sdk \
13 g++ \
14 cpp \
15 libgcc \
16 libgcc-dev \
17 libstdc++ \
18 libstdc++-dev \
19 gdb-cross \
20 " \ No newline at end of file
diff --git a/meta/packages/tasks/task-sdk.bb b/meta/packages/tasks/task-poky-standalone-sdk-target.bb
index 1f3c4a7411..6945715c4a 100644
--- a/meta/packages/tasks/task-sdk.bb
+++ b/meta/packages/tasks/task-poky-standalone-sdk-target.bb
@@ -1,13 +1,11 @@
1DESCRIPTION = "SDK packages" 1DESCRIPTION = "Target packages for the standalone SDK (external toolchain)"
2PR = "r16" 2PR = "r0"
3LICENSE = "MIT" 3LICENSE = "MIT"
4ALLOW_EMPTY = "1" 4ALLOW_EMPTY = "1"
5 5
6PACKAGES = "\ 6PACKAGES = "${PN}"
7 task-sdk-bare \
8 "
9 7
10RDEPENDS_task-sdk-bare = "\ 8RDEPENDS_${PN} = "\
11 glibc \ 9 glibc \
12 glibc-dev \ 10 glibc-dev \
13 glibc-utils \ 11 glibc-utils \
@@ -22,7 +20,3 @@ RDEPENDS_task-sdk-bare = "\
22 libgcc \ 20 libgcc \
23 libstdc++ \ 21 libstdc++ \
24 " 22 "
25
26RRECOMMENDS_task-sdk-bare = "\
27 glibc-binary-localedata-en-gb \
28 " \ No newline at end of file