All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH 1/2] barebox: Rework do_configure_prepend to do_pre_configure
@ 2013-08-07 10:40 Alexandre Belloni
  2013-08-07 10:40 ` [meta-fsl-arm][PATCH 2/2] barebox: move environment deployment to its own task Alexandre Belloni
  2013-08-07 13:35 ` [meta-fsl-arm][PATCH 1/2] barebox: Rework do_configure_prepend to do_pre_configure Otavio Salvador
  0 siblings, 2 replies; 7+ messages in thread
From: Alexandre Belloni @ 2013-08-07 10:40 UTC (permalink / raw)
  To: meta-freescale; +Cc: Maxime Ripard, jimwall, brian

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>
---
 recipes-bsp/barebox/barebox.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [meta-fsl-arm][PATCH 1/2] barebox: Rework do_configure_prepend to do_pre_configure
@ 2013-08-07 10:27 Alexandre Belloni
  0 siblings, 0 replies; 7+ messages in thread
From: Alexandre Belloni @ 2013-08-07 10:27 UTC (permalink / raw)
  To: meta-freescale; +Cc: Maxime Ripard, jimwall, brian

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>
---
 recipes-bsp/barebox/barebox.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-07 16:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07 10:40 [meta-fsl-arm][PATCH 1/2] barebox: Rework do_configure_prepend to do_pre_configure Alexandre Belloni
2013-08-07 10:40 ` [meta-fsl-arm][PATCH 2/2] barebox: move environment deployment to its own task Alexandre Belloni
2013-08-07 13:35 ` [meta-fsl-arm][PATCH 1/2] barebox: Rework do_configure_prepend to do_pre_configure Otavio Salvador
2013-08-07 14:46   ` Alexandre Belloni
2013-08-07 14:58     ` Eric Bénard
2013-08-07 16:02     ` Otavio Salvador
  -- strict thread matches above, loose matches on Subject: below --
2013-08-07 10:27 Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.