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 | openembedded-core-e4d0c6479e04f8fa88686570dd0b2847abe75d56.tar.gz openembedded-core-e4d0c6479e04f8fa88686570dd0b2847abe75d56.tar.bz2 openembedded-core-e4d0c6479e04f8fa88686570dd0b2847abe75d56.zip |
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} \ --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} } |