summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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}
}