aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2013-08-07 10:40:26 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2013-08-07 10:31:39 -0300
commit3cf4f4de20d01e58559908e25008acdd19955bb3 (patch)
tree0257b4ffad3718afb608937fe6c40be82d5d814f
parentd04b8282a60c78ff9ef29d496ee1c039287ed77f (diff)
downloadmeta-fsl-arm-3cf4f4de20d01e58559908e25008acdd19955bb3.tar.gz
meta-fsl-arm-3cf4f4de20d01e58559908e25008acdd19955bb3.tar.bz2
meta-fsl-arm-3cf4f4de20d01e58559908e25008acdd19955bb3.zip
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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--recipes-bsp/barebox/barebox.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-bsp/barebox/barebox.inc b/recipes-bsp/barebox/barebox.inc
index 5902f15..e52b463 100644
--- a/recipes-bsp/barebox/barebox.inc
+++ b/recipes-bsp/barebox/barebox.inc
@@ -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