Patchwork [U-Boot] Makefile: remove MLO.byteswap on clobber

login
register
mail settings
Submitter Nishanth Menon
Date Jan. 2, 2013, 5:59 p.m.
Message ID <1357149564-23377-1-git-send-email-nm@ti.com>
Download mbox | patch
Permalink /patch/209124/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Nishanth Menon - Jan. 2, 2013, 5:59 p.m.
On clobber, do a cleanup even for SPL build else, we'd have
MLO.byteswap remaining for certain platforms like am33xx SPL builds

Signed-off-by: Nishanth Menon <nm@ti.com>
---
To notice the missing cleanup:

With the cross compile flags set, do:
make am335x_evm_config; make; make clobber; git status
 On branch master
 Untracked files:
   (use "git add <file>..." to include in what will be committed)

	MLO.byteswap

Patch based on:v2013.01-rc2-172-gf8cfcf1 (master)
	git://git.denx.de/u-boot.git

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Nishanth Menon - Jan. 10, 2013, 10:26 p.m.
Gentle reminder on this - if this is interesting..

On Wed, Jan 2, 2013 at 11:59 AM, Nishanth Menon <nm@ti.com> wrote:
> On clobber, do a cleanup even for SPL build else, we'd have
> MLO.byteswap remaining for certain platforms like am33xx SPL builds
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> To notice the missing cleanup:
>
> With the cross compile flags set, do:
> make am335x_evm_config; make; make clobber; git status
>  On branch master
>  Untracked files:
>    (use "git add <file>..." to include in what will be committed)
>
>         MLO.byteswap
>
> Patch based on:v2013.01-rc2-172-gf8cfcf1 (master)
>         git://git.denx.de/u-boot.git
>
>  Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index a7b6cd1..4e64622 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -869,7 +869,7 @@ clobber:    tidy
>         @rm -f $(obj)nand_spl/{u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map}
>         @rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.map}
>         @rm -f $(obj)spl/{u-boot-spl.lds,u-boot.lst}
> -       @rm -f $(obj)MLO
> +       @rm -f $(obj)MLO MLO.byteswap
>         @rm -f $(obj)SPL
>         @rm -f $(obj)tools/xway-swap-bytes
>         @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
> --
> 1.7.9.5
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Tom Rini - Jan. 11, 2013, 2:41 p.m.
On Wed, Jan 02, 2013 at 07:59:24AM -0000, Nishanth Menon wrote:

> On clobber, do a cleanup even for SPL build else, we'd have
> MLO.byteswap remaining for certain platforms like am33xx SPL builds
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/Makefile b/Makefile
index a7b6cd1..4e64622 100644
--- a/Makefile
+++ b/Makefile
@@ -869,7 +869,7 @@  clobber:	tidy
 	@rm -f $(obj)nand_spl/{u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map}
 	@rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.map}
 	@rm -f $(obj)spl/{u-boot-spl.lds,u-boot.lst}
-	@rm -f $(obj)MLO
+	@rm -f $(obj)MLO MLO.byteswap
 	@rm -f $(obj)SPL
 	@rm -f $(obj)tools/xway-swap-bytes
 	@rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c