diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-03 20:04:33 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-03 20:04:33 +0100 |
commit | ec8f5299d96d938b56c68d4ffa701b0c8a061de6 (patch) | |
tree | ad27e2213266eb3b425a36f5c6f990c78938ba35 /meta/packages/binutils | |
parent | b3e41b5d1ec003908610a79648528246d467a053 (diff) | |
download | openembedded-core-ec8f5299d96d938b56c68d4ffa701b0c8a061de6.tar.gz openembedded-core-ec8f5299d96d938b56c68d4ffa701b0c8a061de6.tar.bz2 openembedded-core-ec8f5299d96d938b56c68d4ffa701b0c8a061de6.zip |
cross-canadian: Move binaries into a subdirectory of bin to allow multimachine installs and update users accordingly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/binutils')
-rw-r--r-- | meta/packages/binutils/binutils-cross-canadian.inc | 8 | ||||
-rw-r--r-- | meta/packages/binutils/binutils-cross-canadian_2.20.1.bb | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/meta/packages/binutils/binutils-cross-canadian.inc b/meta/packages/binutils/binutils-cross-canadian.inc index 04fa6e2de0..4953bc2c3b 100644 --- a/meta/packages/binutils/binutils-cross-canadian.inc +++ b/meta/packages/binutils/binutils-cross-canadian.inc @@ -6,15 +6,9 @@ EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ do_install () { autotools_do_install - # Fix the ${prefix}/${TARGET_SYS}/bin/* files to be symlinks - rm ${D}${prefix}/${TARGET_SYS}/bin/.debug -Rf - rm ${D}${prefix}/${TARGET_SYS}/bin/* - for l in ${D}${bindir}/*; do - ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" - done - # We're not interested in the libs or headers, these would come from the # nativesdk or target version of the binutils recipe + rm -rf ${D}${prefix}/${TARGET_SYS} rm -f ${D}${libdir}/libbfd* rm -f ${D}${libdir}/libiberty* rm -f ${D}${libdir}/libopcodes* diff --git a/meta/packages/binutils/binutils-cross-canadian_2.20.1.bb b/meta/packages/binutils/binutils-cross-canadian_2.20.1.bb index 13fc22aa64..f4a7a0e619 100644 --- a/meta/packages/binutils/binutils-cross-canadian_2.20.1.bb +++ b/meta/packages/binutils/binutils-cross-canadian_2.20.1.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-canadian.inc -PR = "r3" +PR = "r4" |