[U-Boot] [patch] u-boot powerpc build error

Wolfgang Denk wd at denx.de
Wed Jan 12 08:33:45 CET 2011


Dear gmane,

In message <4D2D324C.3010607 at gmail.com> you wrote:
> Hello,
> 
> I met this error (use GNU make 3.80).
> 
> $ make MPC885ADS_config
> $ make
> /home/namsh/work/u-boot/arch/powerpc/config.mk:35: Extraneous text after 
> `else' directive
> /home/namsh/work/u-boot/arch/powerpc/config.mk:37: *** only one `else' 
> per conditional.  Stop.

Can you please submit this as a proper patch, i. e. with a proper
commit message and your Signed-off-by: line? Please see
http://www.denx.de/wiki/U-Boot/Patches  for details.

And can you please extend the patch to fix _all_ places where such a
construct is being used, i. e. at least these:

arch/powerpc/config.mk:else ifdef CONFIG_NAND_SPL
board/amcc/bamboo/config.mk:else ifdef CONFIG_NAND_U_BOOT
board/amcc/sequoia/config.mk:else ifdef CONFIG_NAND_U_BOOT
board/amcc/acadia/config.mk:else ifdef CONFIG_NAND_U_BOOT
board/amcc/canyonlands/config.mk:else ifdef CONFIG_NAND_U_BOOT
board/amcc/kilauea/config.mk:else ifdef CONFIG_NAND_U_BOOT

And please make sure to run a "MAKEALL ppc" to verify you have found
all occurrences.

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
If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report! - Ken Burchill?


More information about the U-Boot mailing list