diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-16 23:09:44 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 22:24:36 +0100 |
commit | af85ce4b4e675feb5796f87137c86d70c2f15b9a (patch) | |
tree | f19dbb9bcf1eec671b26685458f7cc47ebb3721e /meta/packages/gcc/gcc-configure-cross.inc | |
parent | 046ae6a38d829048663fe1afb1f67de1fbe2e3b5 (diff) | |
download | poky-af85ce4b4e675feb5796f87137c86d70c2f15b9a.tar.gz |
Remove layout_* variables
Remove layout_* variables and replace them with variables specific to the
different classes. The layout variables were only useful for the native/cross
classes and caused more confusion than they solved. They didn't scale to the
sdk class. It now clear a small set of native/cross variables fulfil the needs.
This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes
sense since we're installing binaries into the locations we're compiling them for.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-configure-cross.inc')
-rw-r--r-- | meta/packages/gcc/gcc-configure-cross.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/gcc/gcc-configure-cross.inc b/meta/packages/gcc/gcc-configure-cross.inc index 5befaa8c67..8a47a45bc9 100644 --- a/meta/packages/gcc/gcc-configure-cross.inc +++ b/meta/packages/gcc/gcc-configure-cross.inc | |||
@@ -2,8 +2,8 @@ require gcc-configure-common.inc | |||
2 | 2 | ||
3 | USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' | 3 | USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' |
4 | 4 | ||
5 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \ | 5 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ |
6 | --with-gxx-include-dir=${STAGING_DIR_TARGET}/${layout_includedir}/c++ \ | 6 | --with-gxx-include-dir=${STAGING_DIR_TARGET}/${target_includedir}/c++ \ |
7 | --with-sysroot=${STAGING_DIR_TARGET} \ | 7 | --with-sysroot=${STAGING_DIR_TARGET} \ |
8 | --with-build-sysroot=${STAGING_DIR_TARGET}" | 8 | --with-build-sysroot=${STAGING_DIR_TARGET}" |
9 | 9 | ||
@@ -31,8 +31,8 @@ do_stage_append () { | |||
31 | rmdir ${CROSS_DIR}/include || : | 31 | rmdir ${CROSS_DIR}/include || : |
32 | 32 | ||
33 | # Move libssp into staging | 33 | # Move libssp into staging |
34 | install -d ${STAGING_DIR_TARGET}${layout_base_libdir}/ | 34 | install -d ${STAGING_DIR_TARGET}${target_base_libdir}/ |
35 | mv ${CROSS_DIR}/${TARGET_SYS}/lib/libssp* ${STAGING_DIR_TARGET}${layout_base_libdir}/ || true | 35 | mv ${CROSS_DIR}/${TARGET_SYS}/lib/libssp* ${STAGING_DIR_TARGET}${target_base_libdir}/ || true |
36 | 36 | ||
37 | # We don't really need to keep this around | 37 | # We don't really need to keep this around |
38 | # rm -rf ${CROSS_DIR}/share but leave java there | 38 | # rm -rf ${CROSS_DIR}/share but leave java there |