diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 23:33:52 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 23:33:52 +0000 |
commit | e4d0c6479e04f8fa88686570dd0b2847abe75d56 (patch) | |
tree | a8ace4c37d0490766cdaa1f1e96d42fcf8dd5909 | |
parent | 8d5f7fa6dc58a4224434eb7a6380a83cfe4824cd (diff) | |
download | poky-e4d0c6479e04f8fa88686570dd0b2847abe75d56.tar.gz |
gcc-native: Convert to stage using do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/gcc/gcc-native.inc | 10 |
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 | ||
18 | NATIVE_INSTALL_WORKS = "1" | ||
18 | do_install () { | 19 | do_install () { |
19 | : | ||
20 | } | ||
21 | |||
22 | do_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 | } |