[oe-commits] Richard Purdie : gcc-native: Convert do_stage to do_install

git version control git at git.openembedded.org
Sat Aug 7 06:45:59 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: be8e27bc57fca6dbd191dce3d22d118d4290558e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=be8e27bc57fca6dbd191dce3d22d118d4290558e

Author: Richard Purdie <rpurdie at linux.intel.com>
Date:   Sun Aug  1 20:24:04 2010 +0100

gcc-native: Convert do_stage to do_install

Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/gcc/gcc-native.inc |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/recipes/gcc/gcc-native.inc b/recipes/gcc/gcc-native.inc
index 63b7375..82c6da0 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}
 }





More information about the Openembedded-commits mailing list