diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 14:35:08 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 14:35:08 +0100 |
commit | 061df5abaf727741b11c05db2c47e2778f96d96e (patch) | |
tree | a79062441b0bd9564320c951cc330a268b28994e /meta/classes/cross-canadian.bbclass | |
parent | 4e0ee648b4c18b770aba11921370258f3e2aaeef (diff) | |
download | poky-061df5abaf727741b11c05db2c47e2778f96d96e.tar.gz |
meta-toolchain: Improve layout
* Switch from /usr/local/poky to /opt/poky
* Use a sysroots directory for both the "native" sdk binaries and the target
* Drop the meta-toolchain extras packages. These are replaced with packaged-staging.
* Change the nativesdk layout to match our usual filesystem layout
* Clean up various hardcoded prefix references
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index e5453848ae..29ee99042b 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -44,9 +44,9 @@ target_prefix := "${prefix}" | |||
44 | target_exec_prefix := "${exec_prefix}" | 44 | target_exec_prefix := "${exec_prefix}" |
45 | 45 | ||
46 | # Change to place files in SDKPATH | 46 | # Change to place files in SDKPATH |
47 | prefix = "${SDKPATH}" | 47 | base_prefix = "${SDKPATHNATIVE}" |
48 | exec_prefix = "${SDKPATH}" | 48 | prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
49 | base_prefix = "${SDKPATH}" | 49 | exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
50 | 50 | ||
51 | FILES_${PN} = "${prefix}" | 51 | FILES_${PN} = "${prefix}" |
52 | FILES_${PN}-dbg += "${prefix}/.debug \ | 52 | FILES_${PN}-dbg += "${prefix}/.debug \ |
@@ -56,5 +56,5 @@ FILES_${PN}-dbg += "${prefix}/.debug \ | |||
56 | export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${layout_libdir}/pkgconfig" | 56 | export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${layout_libdir}/pkgconfig" |
57 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" | 57 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" |
58 | 58 | ||
59 | # Cross-canadian packages need to pull in nativesdk so's, sorry for ugliness | 59 | # Cross-canadian packages need to pull in nativesdk dynamic libs |
60 | SHLIBSDIR = "${STAGING_DIR}/${SDK_ARCH}-nativesdk-pokysdk-${BUILD_OS}/shlibs" | 60 | SHLIBSDIR = "${STAGING_DIR}/${SDK_ARCH}-nativesdk-pokysdk-${BUILD_OS}/shlibs" |