Commit 3cf4f4de authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Otavio Salvador

barebox: Rework do_configure_prepend to do_pre_configure

Defining a new task instead of using configure_prepend allows inheriting
recipes to override the pre_configure task.
Signed-off-by: default avatarAlexandre Belloni <>
parent d04b8282
......@@ -20,10 +20,11 @@ BAREBOXENV_SYMLINK ?= "bareboxenv-${MACHINE}.bin"
INSANE_SKIP_${PN} = "True"
do_configure_prepend() {
do_pre_configure() {
cp ${WORKDIR}/defconfig ${S}/.config
oe_runmake oldconfig
addtask pre_configure before do_configure after do_patch
do_compile () {
if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment