summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 23:33:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 23:33:52 +0000
commite4d0c6479e04f8fa88686570dd0b2847abe75d56 (patch)
treea8ace4c37d0490766cdaa1f1e96d42fcf8dd5909 /meta/packages/gcc
parent8d5f7fa6dc58a4224434eb7a6380a83cfe4824cd (diff)
downloadpoky-e4d0c6479e04f8fa88686570dd0b2847abe75d56.tar.gz
gcc-native: Convert to stage using do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-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 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} \
15 --enable-target-optspace \ 15 --enable-target-optspace \
16 --program-prefix=${TARGET_PREFIX}" 16 --program-prefix=${TARGET_PREFIX}"
17 17
18NATIVE_INSTALL_WORKS = "1"
18do_install () { 19do_install () {
19 :
20}
21
22do_stage () {
23 cd gcc 20 cd gcc
24 oe_runmake install-common install-headers install-libgcc 21 oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
25 install -m 0755 xgcc ${STAGING_BINDIR}/gcc-${PV} 22 install -d ${D}${bindir}/
23 install -m 0755 xgcc ${D}${bindir}/gcc-${PV}
26} 24}