summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb18
-rw-r--r--meta/packages/tasks/task-sdk-host.bb (renamed from meta/packages/tasks/task-poky-standalone-sdk-host.bb)6
2 files changed, 11 insertions, 13 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index a0f38404b0..36c1479b68 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -11,33 +11,27 @@ SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
IPKG_HOST = "ipkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${prefix}"
-HOST_INSTALL = "task-poky-standalone-sdk-host"
+TOOLCHAIN_HOST_TASK ?= "task-sdk-host"
+TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target"
-TARGET_INSTALL = "task-poky-standalone-sdk-target"
-
-RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}"
+RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
do_populate_sdk() {
- touch ${DEPLOY_DIR_IPK}/Packages
- ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
-
rm -rf ${SDK_OUTPUT}
mkdir -p ${SDK_OUTPUT}
+ package_update_index_ipk
package_generate_ipkg_conf
for arch in ${PACKAGE_ARCHS}; do
revipkgarchs="$arch $revipkgarchs"
done
- rm -r ${SDK_OUTPUT}
- mkdir -p ${SDK_OUTPUT}
-
${IPKG_HOST} update
- ${IPKG_HOST} -force-depends install ${HOST_INSTALL}
+ ${IPKG_HOST} -force-depends install ${TOOLCHAIN_HOST_TASK}
${IPKG_TARGET} update
- ${IPKG_TARGET} install ${TARGET_INSTALL}
+ ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK}
mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}
cp -pPR ${SDK_OUTPUT}/${prefix}/usr/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}
diff --git a/meta/packages/tasks/task-poky-standalone-sdk-host.bb b/meta/packages/tasks/task-sdk-host.bb
index a8beb054ad..d238b46144 100644
--- a/meta/packages/tasks/task-poky-standalone-sdk-host.bb
+++ b/meta/packages/tasks/task-sdk-host.bb
@@ -1,4 +1,8 @@
-DESCRIPTION = "Host packages for the standalone SDK (external toolchain)"
+#
+# Copyright (C) 2007 OpenedHand Ltd
+#
+
+DESCRIPTION = "Host packages for the standalone SDK or external toolchain"
PR = "r1"
LICENSE = "MIT"
ALLOW_EMPTY = "1"