summaryrefslogtreecommitdiff
path: root/packages/binutils
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-08-12 13:29:28 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-08-12 13:29:28 +0000
commit5013da3eac1b9eaa3e459e51868c972f35d13987 (patch)
tree16969aea9782c4712bea45c3e4b99cb54db2dfe2 /packages/binutils
parent17749e1e129cdb3a6e4121cd70edb3ad2801e33f (diff)
parent5501bf760b33f3cdd0cccc5a413e5fd8540ad3c9 (diff)
merge of 'da96891a2ca8b58603eeace03f70b31bdb83f534'
and 'ff29d35506adb74555e6297276dcbf0d5adfba55'
Diffstat (limited to 'packages/binutils')
-rw-r--r--packages/binutils/binutils-avr32.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/binutils/binutils-avr32.inc b/packages/binutils/binutils-avr32.inc
index 2767494940..bbae784011 100644
--- a/packages/binutils/binutils-avr32.inc
+++ b/packages/binutils/binutils-avr32.inc
@@ -18,6 +18,14 @@ do_avr32_reconf () {
do_avr32_configure_bfd () {
if test ${TARGET_ARCH} == avr32; then
+ # fix Makefile brokenness due to unmatched single quotes
+ (cd ${B} && sed -i -e "s,'CC=ccache,'CC=${CC}'," Makefile)
+ # *_alias options are not supported in binutils 2.17 and need
+ # to be removed
+ (cd ${B} && sed -i -e "s,'host_alias=.*',," Makefile)
+ (cd ${B} && sed -i -e "s,'build_alias=.*',," Makefile)
+ (cd ${B} && sed -i -e "s,'target_alias=*.',," Makefile)
+
(cd ${B} && make configure-bfd) || die "Error running 'make configure-bfd'"
(cd ${B}/bfd && make headers) || die "Error running 'make headers'"
fi