From: Wolfgang Denk Date: Wed, 13 Apr 2011 22:45:16 +0200 Subject: [U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile In-Reply-To: References: <20110222073304.3D85F1539C5@gemini.denx.de> Message-ID: <20110413204516.5422F14F02E@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 Dear Che-liang Chiou, In message you wrote: > > On Tue, Feb 22, 2011 at 3:33 PM, Wolfgang Denk wrote: > > In message > you wrote: > >> The bug is caused by using recursively expanded flavor for BIN and SREC. > > You wrote "The bug". How does this bug manifest in U-Boot? For which > > configuration do you see issues? > > The bug I refer to is that hello_world.bin and hello_world.srec are not built. > > I can reproduce this bug in versatile_config, but I believe it is generally > applicable to other configures as well since it is caused by Makefile > syntax. > > Here is how I found the bug: > ------------------------------------------------------------ > $ make O=/tmp/build distclean > $ make O=/tmp/build versatile_config > $ make O=/tmp/build -j8 > $ ls /tmp/build/examples/standalone/ > hello_world hello_world.o libstubs.o smc91111_eeprom > smc91111_eeprom.o stubs.o > ------------------------------------------------------------ > Notice that hello_world.bin and hello_world.srec are not found. Hm... which U-Boot version are you referring to? Because for some time "versatile" is broken and does not build at all... 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 One possible reason that things aren't going according to plan is that there never was a plan in the first place.