1 # Perform tasks required to use Atmel's AVR32 patches
2 # See http://avr32linux.org/twiki/bin/view/Main/GDBPatches for more info
6 if test ${TARGET_ARCH} == "avr32"; then
7 (cd ${S} && autoconf) || \
8 die "failure running autoconf in top-level gdb"
10 (cd ${S}/bfd && autoreconf) || \
11 die "failure running autoreconf in bfd/"
13 (cd ${S}/opcodes && autoreconf) || \
14 die "failure running autoreconf in opcodes/"
21 do_avr32_configure_bfd () {
22 if test ${TARGET_ARCH} == "avr32"; then
23 (cd ${B} && make configure-bfd) || die "Error running configure-bfd"
24 (cd ${B}/bfd && make headers) || \
25 die "error running 'make headers' in bfd"
30 addtask avr32_reconf after do_patch before do_configure
31 addtask avr32_configure_bfd after do_configure before do_compile