diff mbox

[1/3] Rename do_configure_prepend to do_pre_configure and add it before do_configure

Message ID 1323903512-7344-2-git-send-email-ken.werner@linaro.org
State Rejected
Headers show

Commit Message

Ken Werner Dec. 14, 2011, 10:58 p.m. UTC
Defining a new task instead of using configure_prepend allows inheriting
recipes to override the pre_configure task.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
---
 meta/classes/libc-package.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 1796d3d..b2accb6 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -39,10 +39,10 @@  python __anonymous () {
 
 OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}"
 
-do_configure_prepend() {
+do_pre_configure() {
         sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
 }
-
+addtask pre_configure before do_configure
 
 
 # indentation removed on purpose