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-kernel.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'meta/packages/gcc/gcc-cross-kernel.inc') diff --git a/meta/packages/gcc/gcc-cross-kernel.inc b/meta/packages/gcc/gcc-cross-kernel.inc index fe6539b808..c602d72514 100644 --- a/meta/packages/gcc/gcc-cross-kernel.inc +++ b/meta/packages/gcc/gcc-cross-kernel.inc @@ -4,11 +4,11 @@ PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}" do_install () { - : + cd gcc + oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc + install -m 0755 xgcc ${D}${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV} } do_stage () { - cd gcc - oe_runmake install-common install-headers install-libgcc - install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV} -} + use_do_install_for_stage +} \ No newline at end of file -- cgit v1.2.3