diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-08-01 12:34:51 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 14:32:11 +0100 |
commit | 06d4cf01ffff6b358c7dc9f4434aae2714496fd8 (patch) | |
tree | 6c1aebb16801e6a822cbd82bfaaca9eb1202febf /meta/classes/populate_sdk_deb.bbclass | |
parent | f9da3c269fd7c8260e3457f7f77b22ef659d3752 (diff) | |
download | poky-06d4cf01ffff6b358c7dc9f4434aae2714496fd8.tar.gz |
populate_sdk_*: Sync SDK and regular rootfs functions
In order for things to be easier to maintain in the future, sync up
the sdk and rootfs versions.
(From OE-Core rev: 3c78da15457d8d20c9964cd845f6e021d442aaae)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_deb.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_deb.bbclass | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass index 25d90c7eda..1bf1b95498 100644 --- a/meta/classes/populate_sdk_deb.bbclass +++ b/meta/classes/populate_sdk_deb.bbclass | |||
@@ -11,30 +11,38 @@ populate_sdk_post_deb () { | |||
11 | 11 | ||
12 | fakeroot populate_sdk_deb () { | 12 | fakeroot populate_sdk_deb () { |
13 | 13 | ||
14 | # update index | ||
14 | package_update_index_deb | 15 | package_update_index_deb |
15 | 16 | ||
16 | export INSTALL_TASK_DEB="populate_sdk" | 17 | ## install target ## |
17 | export INSTALL_PACKAGES_LINGUAS_DEB="" | 18 | # This needs to work in the same way as rootfs_deb.bbclass |
18 | export INSTALL_PACKAGES_ATTEMPTONLY_DEB="" | ||
19 | |||
20 | #install target | ||
21 | echo "Installing TARGET packages" | 19 | echo "Installing TARGET packages" |
20 | |||
21 | mkdir -p ${IMAGE_ROOTFS}/var/dpkg/alternatives | ||
22 | |||
22 | export INSTALL_ROOTFS_DEB="${SDK_OUTPUT}/${SDKTARGETSYSROOT}" | 23 | export INSTALL_ROOTFS_DEB="${SDK_OUTPUT}/${SDKTARGETSYSROOT}" |
23 | export INSTALL_BASEARCH_DEB="${DPKG_ARCH}" | 24 | export INSTALL_BASEARCH_DEB="${DPKG_ARCH}" |
24 | export INSTALL_ARCHS_DEB="${PACKAGE_ARCHS}" | 25 | export INSTALL_ARCHS_DEB="${PACKAGE_ARCHS}" |
25 | export INSTALL_PACKAGES_NORMAL_DEB="${TOOLCHAIN_TARGET_TASK}" | 26 | export INSTALL_PACKAGES_NORMAL_DEB="${TOOLCHAIN_TARGET_TASK}" |
27 | export INSTALL_PACKAGES_ATTEMPTONLY_DEB="" | ||
28 | export PACKAGES_LINGUAS_DEB="" | ||
29 | export INSTALL_TASK_DEB="populate_sdk-target" | ||
26 | 30 | ||
27 | package_install_internal_deb | 31 | package_install_internal_deb |
32 | |||
28 | populate_sdk_post_deb ${INSTALL_ROOTFS_DEB} | 33 | populate_sdk_post_deb ${INSTALL_ROOTFS_DEB} |
29 | 34 | ||
30 | populate_sdk_log_check populate_sdk | 35 | populate_sdk_log_check populate_sdk |
31 | 36 | ||
32 | #install host | 37 | ## install nativesdk ## |
33 | echo "Installing HOST packages" | 38 | echo "Installing NATIVESDK packages" |
34 | export INSTALL_ROOTFS_DEB="${SDK_OUTPUT}" | 39 | export INSTALL_ROOTFS_DEB="${SDK_OUTPUT}" |
35 | export INSTALL_BASEARCH_DEB="${SDK_ARCH}" | 40 | export INSTALL_BASEARCH_DEB="${SDK_ARCH}" |
36 | export INSTALL_PACKAGES_NORMAL_DEB="${TOOLCHAIN_HOST_TASK}" | ||
37 | export INSTALL_ARCHS_DEB="${SDK_PACKAGE_ARCHS}" | 41 | export INSTALL_ARCHS_DEB="${SDK_PACKAGE_ARCHS}" |
42 | export INSTALL_PACKAGES_NORMAL_DEB="${TOOLCHAIN_HOST_TASK}" | ||
43 | export INSTALL_PACKAGES_ATTEMPTONLY_DEB="" | ||
44 | export PACKAGES_LINGUAS_DEB="" | ||
45 | export INSTALL_TASK_DEB="populate_sdk-nativesdk" | ||
38 | 46 | ||
39 | package_install_internal_deb | 47 | package_install_internal_deb |
40 | populate_sdk_post_deb ${SDK_OUTPUT}/${SDKPATHNATIVE} | 48 | populate_sdk_post_deb ${SDK_OUTPUT}/${SDKPATHNATIVE} |