summaryrefslogtreecommitdiffstats
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)
downloadpoky-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.tar.gz
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 @@
1# Path mangling needed by the cross packaging
2# Note that we use := here, and require that this is included at the correct
3# point (before inheriting cross) to ensure that libdir and includedir are
4# target paths, not CROSS_DIR paths.
5target_libdir := "${libdir}"
6target_includedir := "${includedir}"
7target_base_libdir := "${base_libdir}"
8target_prefix := "${prefix}"
9
10inherit cross 1inherit cross
11 2
12DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" 3DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
13PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 4PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
5
6do_stage () {
7 use_do_install_for_stage
8}