[oe-commits] Tom Rini : binutils-avr32.inc: Switch to do_configure_{prepend, append}
git version control
git at git.openembedded.org
Wed Feb 23 23:49:21 UTC 2011
Module: openembedded.git
Branch: master
Commit: f2bda313c97d4e4f9d30d4bfcaf114fc1b21e99b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f2bda313c97d4e4f9d30d4bfcaf114fc1b21e99b
Author: Tom Rini <tom_rini at mentor.com>
Date: Wed Feb 23 16:46:25 2011 -0700
binutils-avr32.inc: Switch to do_configure_{prepend,append}
While adding autoconf/automake to DEPENDS helps, that only
means they must have completed do_populate_sysroot before
we can run do_configure, and since do_avr32_reconf was before
do_configure it will be run before autoconf is there, with enough
BB_NUM_THREADS.
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/binutils/binutils-avr32.inc | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/recipes/binutils/binutils-avr32.inc b/recipes/binutils/binutils-avr32.inc
index 2aa5e3f..4de57ec 100644
--- a/recipes/binutils/binutils-avr32.inc
+++ b/recipes/binutils/binutils-avr32.inc
@@ -4,7 +4,7 @@
DEPENDS += "autoconf-native automake-native"
-do_avr32_reconf () {
+do_configure_prepend () {
if test ${TARGET_ARCH} == avr32; then
(cd ${S} && autoconf) || die "Error running autoconf"
for dir in bfd opcodes binutils ld; do
@@ -17,7 +17,7 @@ do_avr32_reconf () {
fi
}
-do_avr32_configure_bfd () {
+do_configure_append () {
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)
@@ -31,7 +31,3 @@ do_avr32_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
-
More information about the Openembedded-commits
mailing list