From be8e27bc57fca6dbd191dce3d22d118d4290558e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 1 Aug 2010 20:24:04 +0100 Subject: gcc-native: Convert do_stage to do_install Signed-off-by: Richard Purdie Signed-off-by: Khem Raj --- recipes/gcc/gcc-native.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'recipes') diff --git a/recipes/gcc/gcc-native.inc b/recipes/gcc/gcc-native.inc index 63b7375e96..82c6da0e9a 100644 --- a/recipes/gcc/gcc-native.inc +++ b/recipes/gcc/gcc-native.inc @@ -16,11 +16,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \ --program-prefix=${TARGET_PREFIX}" do_install () { - : -} - -do_stage () { cd gcc - oe_runmake install-common install-headers install-libgcc - install -m 0755 xgcc ${STAGING_BINDIR}/gcc-${PV} + oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc + install -m 0755 xgcc ${D}${STAGING_BINDIR}/gcc-${PV} } -- cgit 1.2.3-korg