Message ID | 1323903512-7344-2-git-send-email-ken.werner@linaro.org |
---|---|
State | Rejected |
Headers | show |
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
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(-)