From: Wolfgang Denk Date: Sun, 13 Jun 2010 18:08:09 +0200 Subject: [U-Boot] [PATCH 1/4 v2] Fix printing of make targets, simplify Makefile In-Reply-To: <1274995116-8708-2-git-send-email-wd@denx.de> References: <1273970133-10228-1-git-send-email-wd@denx.de> <1274995116-8708-2-git-send-email-wd@denx.de> Message-ID: <20100613160809.C60CC153659@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1274995116-8708-2-git-send-email-wd@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 > --- > 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.