[U-Boot] Makfile: fix a rule to build u-boot.sb

Tom Rini trini at ti.com
Thu Nov 7 01:56:02 CET 2013


On Tue, Nov 05, 2013 at 05:09:02PM +0900, Masahiro Yamada wrote:

> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> 
> ---
> This is a follow-up patch of the series:
> First step towards Kbuild: Use Kbuild style makefiles
> 
> The series broke the build rule of u-boot.sb
> 
> u-boot.sb is never automatically generated.
> (u-boot.sb is not added to ALL-y)
> 
> That's why I could detect the bug of the former series
> by MAKEALL or patman test.
> 
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index a2fd7f6..1f499c5 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -490,7 +490,7 @@ $(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.img
>  
>  
>  $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
> -		$(MAKE) -C $(SRCTREE)/$(CPUDIR)/$(SOC)/ $(OBJTREE)/u-boot.sb
> +		$(MAKE) $(build) $(SRCTREE)/$(CPUDIR)/$(SOC)/ $(OBJTREE)/u-boot.sb
>  
>  # On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.
>  # Both images are created using mkimage (crc etc), so that the ROM

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131106/53567e37/attachment.pgp>


More information about the U-Boot mailing list