[U-Boot] [PATCH 1/4 v2] Fix printing of make targets, simplify Makefile

Wolfgang Denk wd at denx.de
Sun Jun 13 18:08:09 CEST 2010


In message <1274995116-8708-2-git-send-email-wd at denx.de> you wrote:
> Make printing the "board names" more useful. So far, we would get
> output like this;
> 
> $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
> Configuring for P1_P2_RDB board...
>    text    data     bss     dec     hex filename
>  342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
> Configuring for P1_P2_RDB board...
>    text    data     bss     dec     hex filename
>  343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
> Configuring for P1_P2_RDB board...
>    text    data     bss     dec     hex filename
>  341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
> Configuring for P1_P2_RDB board...
>    text    data     bss     dec     hex filename
>  341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
> 
> For all build targets the same board name would be printed, which
> makes is often pretty difficult to find out which exact build target
> caused problems. With this commit, the real make target name gets
> printed instead, which is way more useful:
> 
> $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
> Configuring for P2020RDB board...
>    text    data     bss     dec     hex filename
>  342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
> Configuring for P2020RDB_NAND board...
>    text    data     bss     dec     hex filename
>  343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
> Configuring for P2020RDB_SDCARD board...
>    text    data     bss     dec     hex filename
>  341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
> Configuring for P2020RDB_SPIFLASH board...
>    text    data     bss     dec     hex filename
>  341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  Makefile |  740 ++++++++++++++++++++-----------------------------------------
>  1 files changed, 243 insertions(+), 497 deletions(-)

Applied to "next" branch.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers are not intelligent. They only think they are.


More information about the U-Boot mailing list