summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/gcc/gcc-native.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/packages/gcc/gcc-native.inc b/meta/packages/gcc/gcc-native.inc
index 63b7375e9..635b01353 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}
}