org.openembedded.dev: 1b952dae1cdcb1249378a8f754276da4a83382a3

oe at monotone.openmoko.org oe at monotone.openmoko.org
Fri May 2 20:52:25 CEST 2008


revision:            1b952dae1cdcb1249378a8f754276da4a83382a3
date:                2008-04-30T12:14:30
author:              likewise at openembedded.org
branch:              org.openembedded.dev
changelog:
binutils-avr32.inc: Added.

manifest:
format_version "1"

new_manifest [f1ccff0f5fd37f84e9a541ba11d0ede37d069c06]

old_revision [519fb232d0f89064395bf96f19e36d9567a2f25c]

add_file "packages/binutils/binutils-avr32.inc"
 content [5bd29b107e09714fb7b1d4bf3f8e6d5196a9ca37]
-------------- next part --------------
#
#
# add_file "packages/binutils/binutils-avr32.inc"
#  content [5bd29b107e09714fb7b1d4bf3f8e6d5196a9ca37]
#
============================================================
--- packages/binutils/binutils-avr32.inc	5bd29b107e09714fb7b1d4bf3f8e6d5196a9ca37
+++ packages/binutils/binutils-avr32.inc	5bd29b107e09714fb7b1d4bf3f8e6d5196a9ca37
@@ -0,0 +1,31 @@
+# Extra tasks required when using Atmel's patches to binutils
+# See http://avr32linux.org/twiki/bin/view/Main/BinutilsPatches for
+# more information
+
+
+do_avr32_reconf () {
+        if test ${TARGET_ARCH} == avr32; then
+            (cd ${S} && autoconf-2.13) || die "Error running autoconf"
+            for dir in bfd opcodes binutils ld; do
+                (cd "${S}/$dir" &&
+                 aclocal-1.9 &&
+                 autoconf &&
+                 automake-1.9 &&
+                 autoheader) || die "Error reconfiguring $dir"
+            done
+        fi
+}
+
+
+do_avr32_configure_bfd () {
+        if test ${TARGET_ARCH} == avr32; then
+            (cd ${B} && make configure-bfd) || die "Error running 'make configure-bfd'"
+            (cd ${B}/bfd && make headers) || die "Error running 'make headers'"
+        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/4d92f9f3/attachment.htm 


More information about the commitlog mailing list