Patchwork [U-Boot,1/2] Makefile: change rule to build IMX image

login
register
mail settings
Submitter Stefano Babic
Date Jan. 24, 2011, 10:14 a.m.
Message ID <1295864067-1900-1-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/80137/
State Accepted
Commit 45d7d72b0e3492c9e67a89f0ba2c462924f0c2ca
Delegated to: Stefano Babic
Headers show

Comments

Stefano Babic - Jan. 24, 2011, 10:14 a.m.
config.mk in board directory is obsolete and should be removed.
The patch allows to get rid of own config.mk adding the imximage.cfg
file to the options in the boards.cfg

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Stefano Babic - Jan. 31, 2011, 2:34 p.m.
On 01/24/2011 11:14 AM, Stefano Babic wrote:
> config.mk in board directory is obsolete and should be removed.
> The patch allows to get rid of own config.mk adding the imximage.cfg
> file to the options in the boards.cfg
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>

Wolfgang,

the patch is for the top Makefile, but it is related to IMX boards only.
Do you agree if I already merge it into u-boot-imx ?

Regards,
Stefano
Wolfgang Denk - April 11, 2011, 8:23 p.m.
Dear Stefano Babic,

In message <4D46C87F.2000803@denx.de> you wrote:
> On 01/24/2011 11:14 AM, Stefano Babic wrote:
> > config.mk in board directory is obsolete and should be removed.
> > The patch allows to get rid of own config.mk adding the imximage.cfg
> > file to the options in the boards.cfg
> > 
> > Signed-off-by: Stefano Babic <sbabic@denx.de>
> 
> the patch is for the top Makefile, but it is related to IMX boards only.
> Do you agree if I already merge it into u-boot-imx ?

Yes, please do.   Sorry for the delay.

Best regards,

Wolfgang Denk

Patch

diff --git a/Makefile b/Makefile
index fd21ef3..fff5741 100644
--- a/Makefile
+++ b/Makefile
@@ -353,7 +353,7 @@  $(obj)u-boot.img:	$(obj)u-boot.bin
 		-d $< $@
 
 $(obj)u-boot.imx:       $(obj)u-boot.bin
-		$(obj)tools/mkimage -n $(IMX_CONFIG) -T imximage \
+		$(obj)tools/mkimage -n  $(CONFIG_IMX_CONFIG) -T imximage \
 		-e $(CONFIG_SYS_TEXT_BASE) -d $< $@
 
 $(obj)u-boot.kwb:       $(obj)u-boot.bin