aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-17 21:18:46 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-05 14:45:12 +0100
commit3073e44586a8f939479a192d244f0a1d4f158e6c (patch)
treed0858ca27eb100f13a31ce8ab08dc7d8695edcd9 /recipes/binutils
parentbf79d4b747f9628587cdf37e2b100aae96e59dbf (diff)
downloadopenembedded-3073e44586a8f939479a192d244f0a1d4f158e6c.tar.gz
openembedded-3073e44586a8f939479a192d244f0a1d4f158e6c.tar.bz2
openembedded-3073e44586a8f939479a192d244f0a1d4f158e6c.zip
binutils-cross: Convert to non-legacy staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'recipes/binutils')
-rw-r--r--recipes/binutils/binutils-cross.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/recipes/binutils/binutils-cross.inc b/recipes/binutils/binutils-cross.inc
index 5808c1fbda..bd22c92e16 100644
--- a/recipes/binutils/binutils-cross.inc
+++ b/recipes/binutils/binutils-cross.inc
@@ -8,22 +8,22 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
--enable-install-libbfd \
--disable-werror"
-do_stage () {
- oe_runmake install
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
# We don't really need these, so we'll remove them...
- rm -rf ${CROSS_DIR}/lib/ldscripts
- rm -rf ${CROSS_DIR}/share/info
- rm -rf ${CROSS_DIR}/share/locale
- rm -rf ${CROSS_DIR}/share/man
- rmdir ${CROSS_DIR}/share || :
- rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
- rmdir ${CROSS_DIR}/${libdir}64/gcc-lib || :
- rmdir ${CROSS_DIR}/${libdir} || :
- rmdir ${CROSS_DIR}/${libdir}64 || :
- rmdir ${CROSS_DIR}/${prefix} || :
+ rm -rf ${D}${CROSS_DIR}/lib/ldscripts
+ rm -rf ${D}${CROSS_DIR}/share/info
+ rm -rf ${D}${CROSS_DIR}/share/locale
+ rm -rf ${D}${CROSS_DIR}/share/man
+ rmdir ${D}${CROSS_DIR}/share || :
+ rmdir ${D}${CROSS_DIR}/${libdir}/gcc-lib || :
+ rmdir ${D}${CROSS_DIR}/${libdir}64/gcc-lib || :
+ rmdir ${D}${CROSS_DIR}/${libdir} || :
+ rmdir ${D}${CROSS_DIR}/${libdir}64 || :
+ rmdir ${D}${CROSS_DIR}/${prefix} || :
}
-do_install () {
- :
+do_stage () {
+ use_do_install_for_stage
}