diff options
-rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 20 | ||||
-rw-r--r-- | meta/packages/tasks/task-poky-standalone-sdk-host.bb | 20 | ||||
-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" | |||
17 | IPKG_HOST = "ipkg-cl -f ${SDK_DIR}/ipkg-host.conf -o ${SDK_OUTPUT}" | 17 | IPKG_HOST = "ipkg-cl -f ${SDK_DIR}/ipkg-host.conf -o ${SDK_OUTPUT}" |
18 | IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}" | 18 | IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}" |
19 | 19 | ||
20 | HOST_INSTALL = "\ | 20 | HOST_INSTALL = "task-poky-standalone-sdk-host" |
21 | binutils-cross-sdk \ | 21 | |
22 | gcc-cross-sdk \ | 22 | TARGET_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 | |||
32 | TARGET_INSTALL = "\ | ||
33 | task-sdk-bare \ | ||
34 | " | ||
35 | 23 | ||
36 | RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}" | 24 | RDEPENDS = "${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 @@ | |||
1 | DESCRIPTION = "Host packages for the standalone SDK (external toolchain)" | ||
2 | PR = "r0" | ||
3 | LICENSE = "MIT" | ||
4 | ALLOW_EMPTY = "1" | ||
5 | |||
6 | inherit sdk | ||
7 | |||
8 | PACKAGES = "${PN}" | ||
9 | |||
10 | RDEPENDS_${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 @@ | |||
1 | DESCRIPTION = "SDK packages" | 1 | DESCRIPTION = "Target packages for the standalone SDK (external toolchain)" |
2 | PR = "r16" | 2 | PR = "r0" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | ALLOW_EMPTY = "1" | 4 | ALLOW_EMPTY = "1" |
5 | 5 | ||
6 | PACKAGES = "\ | 6 | PACKAGES = "${PN}" |
7 | task-sdk-bare \ | ||
8 | " | ||
9 | 7 | ||
10 | RDEPENDS_task-sdk-bare = "\ | 8 | RDEPENDS_${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 | |||
26 | RRECOMMENDS_task-sdk-bare = "\ | ||
27 | glibc-binary-localedata-en-gb \ | ||
28 | " \ No newline at end of file | ||