From ec22e232d4b35eaa8c70d46335dfb52199fe1fca Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 23:36:11 +0000 Subject: gcc: Convert cross recipes to stage in do_install. Also moves stdc++ and other libs into the sysroot Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-cross.inc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'meta/packages/gcc/gcc-cross.inc') 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 +} -- cgit v1.2.3-54-g00ecf