aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-01 20:24:04 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-01 20:24:04 +0100
commit147ec6c921ee17df23ceba5c46a860c9048b84d0 (patch)
treeda9c8d7444f63c9e0f6693c49d55f45709fcde92
parent9bec42b34f25e19f2197bb03f94323cbadd521eb (diff)
downloadopenembedded-147ec6c921ee17df23ceba5c46a860c9048b84d0.zip
openembedded-147ec6c921ee17df23ceba5c46a860c9048b84d0.tar.gz
openembedded-147ec6c921ee17df23ceba5c46a860c9048b84d0.tar.bz2
gcc-native: Convert do_stage to do_install
-rw-r--r--recipes/gcc/gcc-native.inc8
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}
}