org.openembedded.dev: c8c6f8c33c61af0056076c21f8e84da83a85d8d8

oe at monotone.openmoko.org oe at monotone.openmoko.org
Fri May 2 21:05:04 CEST 2008


revision:            c8c6f8c33c61af0056076c21f8e84da83a85d8d8
date:                2008-04-30T12:17:52
author:              likewise at openembedded.org
branch:              org.openembedded.dev
changelog:
gdb-avr32.inc: Added gdb-avr32.inc.

manifest:
format_version "1"

new_manifest [c2b3d5656f031809da7a8b8aeb364dfd593b8cff]

old_revision [1b952dae1cdcb1249378a8f754276da4a83382a3]

add_file "packages/gdb/gdb-avr32.inc"
 content [7494151dbc5adbc235fbc5181d3392875c7f4e35]
-------------- next part --------------
#
#
# add_file "packages/gdb/gdb-avr32.inc"
#  content [7494151dbc5adbc235fbc5181d3392875c7f4e35]
#
============================================================
--- packages/gdb/gdb-avr32.inc	7494151dbc5adbc235fbc5181d3392875c7f4e35
+++ packages/gdb/gdb-avr32.inc	7494151dbc5adbc235fbc5181d3392875c7f4e35
@@ -0,0 +1,32 @@
+# Perform tasks required to use Atmel's AVR32 patches
+# See http://avr32linux.org/twiki/bin/view/Main/GDBPatches for more info
+
+
+do_avr32_reconf () {
+    if test ${TARGET_ARCH} == "avr32"; then
+        (cd ${S} && autoconf) || \
+            die "failure running autoconf in top-level gdb"
+
+        (cd ${S}/bfd && autoreconf) || \
+            die "failure running autoreconf in bfd/"
+
+        (cd ${S}/opcodes && autoreconf) || \
+            die "failure running autoreconf in opcodes/"
+    fi
+
+}
+
+
+
+do_avr32_configure_bfd () {
+    if test ${TARGET_ARCH} == "avr32"; then
+        (cd ${B} && make configure-bfd) || die "Error running configure-bfd"
+        (cd ${B}/bfd && make headers) || \
+                die "error running 'make headers' in bfd"
+    fi
+}
+
+
+addtask avr32_reconf after do_patch before do_configure
+addtask avr32_configure_bfd after do_configure before do_compile
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/commitlog/attachments/20080502/84d459ba/attachment.htm 


More information about the commitlog mailing list