mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM Makefile: switch to kbuild command definition for mkublheader
@ 2012-09-06 15:23 Jan Luebbe
  2012-09-06 17:33 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2012-09-06 15:23 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 arch/arm/Makefile |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 67fe5cf..13222f4 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -203,10 +203,13 @@ KBUILD_TARGET := MLO
 KBUILD_IMAGE := MLO
 endif
 
-barebox.ubl: $(KBUILD_BINARY)
-	@echo "  UBL    " $@
-	$(Q)scripts/mkublheader $< > barebox.ubl
-	$(Q)cat $< >> barebox.ubl
+quiet_cmd_davinci_ubl_image = UBL-IMG $@
+      cmd_davinci_ubl_image = set -e; \
+	 scripts/mkublheader $< > $@; \
+	 cat $< >> $@
+
+barebox.ubl: $(KBUILD_BINARY) FORCE
+	$(call if_changed,davinci_ubl_image)
 
 ifeq ($(CONFIG_ARCH_DAVINCI),y)
 KBUILD_TARGET := barebox.ubl
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM Makefile: switch to kbuild command definition for mkublheader
  2012-09-06 15:23 [PATCH] ARM Makefile: switch to kbuild command definition for mkublheader Jan Luebbe
@ 2012-09-06 17:33 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-09-06 17:33 UTC (permalink / raw)
  To: Jan Luebbe; +Cc: barebox

On Thu, Sep 06, 2012 at 05:23:49PM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>

Applied, thanks

Sascha

> ---
>  arch/arm/Makefile |   11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 67fe5cf..13222f4 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -203,10 +203,13 @@ KBUILD_TARGET := MLO
>  KBUILD_IMAGE := MLO
>  endif
>  
> -barebox.ubl: $(KBUILD_BINARY)
> -	@echo "  UBL    " $@
> -	$(Q)scripts/mkublheader $< > barebox.ubl
> -	$(Q)cat $< >> barebox.ubl
> +quiet_cmd_davinci_ubl_image = UBL-IMG $@
> +      cmd_davinci_ubl_image = set -e; \
> +	 scripts/mkublheader $< > $@; \
> +	 cat $< >> $@
> +
> +barebox.ubl: $(KBUILD_BINARY) FORCE
> +	$(call if_changed,davinci_ubl_image)
>  
>  ifeq ($(CONFIG_ARCH_DAVINCI),y)
>  KBUILD_TARGET := barebox.ubl
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-09-06 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-06 15:23 [PATCH] ARM Makefile: switch to kbuild command definition for mkublheader Jan Luebbe
2012-09-06 17:33 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox