summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 23:36:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 23:36:11 +0000
commitec22e232d4b35eaa8c70d46335dfb52199fe1fca (patch)
treeb3f51d9cfca46baf7229ef3b04786fd5a81b8871 /meta/packages/gcc/gcc-cross.inc
parent977b3fe5545c699e438866b834c9af949680aaab (diff)
downloadopenembedded-core-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.tar.gz
openembedded-core-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.tar.bz2
openembedded-core-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.zip
gcc: Convert cross recipes to stage in do_install. Also moves stdc++ and other libs into the sysroot
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-cross.inc')
-rw-r--r--meta/packages/gcc/gcc-cross.inc13
1 files changed, 4 insertions, 9 deletions
diff --git a/meta/packages/gcc/gcc-cross.inc b/meta/packages/gcc/gcc-cross.inc
index 3485824b8a..2ba47fef5b 100644
--- a/meta/packages/gcc/gcc-cross.inc
+++ b/meta/packages/gcc/gcc-cross.inc
@@ -1,13 +1,8 @@
-# Path mangling needed by the cross packaging
-# Note that we use := here, and require that this is included at the correct
-# point (before inheriting cross) to ensure that libdir and includedir are
-# target paths, not CROSS_DIR paths.
-target_libdir := "${libdir}"
-target_includedir := "${includedir}"
-target_base_libdir := "${base_libdir}"
-target_prefix := "${prefix}"
-
inherit cross
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
+
+do_stage () {
+ use_do_install_for_stage
+}