diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 23:36:11 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 23:36:11 +0000 |
commit | ec22e232d4b35eaa8c70d46335dfb52199fe1fca (patch) | |
tree | b3f51d9cfca46baf7229ef3b04786fd5a81b8871 /meta/packages/gcc/gcc-cross.inc | |
parent | 977b3fe5545c699e438866b834c9af949680aaab (diff) | |
download | poky-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.inc | 13 |
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. | ||
5 | target_libdir := "${libdir}" | ||
6 | target_includedir := "${includedir}" | ||
7 | target_base_libdir := "${base_libdir}" | ||
8 | target_prefix := "${prefix}" | ||
9 | |||
10 | inherit cross | 1 | inherit cross |
11 | 2 | ||
12 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" | 3 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" |
13 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" |
5 | |||
6 | do_stage () { | ||
7 | use_do_install_for_stage | ||
8 | } | ||