From e4d0c6479e04f8fa88686570dd0b2847abe75d56 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Nov 2009 23:33:52 +0000 Subject: [PATCH] gcc-native: Convert to stage using do_install Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-native.inc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta/packages/gcc/gcc-native.inc b/meta/packages/gcc/gcc-native.inc index 63b7375e96..635b01353a 100644 --- a/meta/packages/gcc/gcc-native.inc +++ b/meta/packages/gcc/gcc-native.inc @@ -15,12 +15,10 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \ --enable-target-optspace \ --program-prefix=${TARGET_PREFIX}" +NATIVE_INSTALL_WORKS = "1" 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 -d ${D}${bindir}/ + install -m 0755 xgcc ${D}${bindir}/gcc-${PV} }