[U-Boot] u-boot build error [from v2013.01 onwards]

Wolfgang Denk wd at denx.de
Mon Jan 28 07:59:29 CET 2013


Dear Jagan Teki,

In message <CAD6G_RS1bV_8z_J0QEjbNooy=6+Zxi0faXjxNr1fN4U2ajbObg at mail.gmail.com> you wrote:
> 
> > Actually I'd be more interested in the result of the following commands:
> >
> > 1)      $CROSS_COMPILE}gcc -v
> 
> Mr.J> ${CROSS_COMPILE}gcc -v
> Using built-in specs.
> Target: arm-none-linux-gnueabi
> ....
> Thread model: posix
> gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)

Well, the actual error comes from the Makefile, so gcc should not be
involved here...

> Mr.J> git rev-parse HEAD
> 54b08efcf2f4ff532ce99c53f341a59c193331a5

Looks clean.

> Mr.J> git status
> # On branch master
> nothing to commit (working directory clean)
> 
> Mr.J> ./MAKEALL versatilepb_config
> Makefile:597: *** missing `endif'.  Stop.
> Makefile:597: *** missing `endif'.  Stop.
> arm-none-linux-gnueabi-size: './u-boot': No such file
> Makefile:597: *** missing `endif'.  Stop.

You should get this instead:

-> ./MAKEALL versatilepb_config
make: *** No rule to make target `versatilepb_config_config'.  Stop.
make: *** [versatilepb_config_config] Error 1
make: *** [all] Error 1
arm-linux-gnueabi-size: './u-boot': No such file
System not configured - see README
make: *** [all] Error 1

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( versatilepb_config )
----------------------------------------------------------


Note that the correct name with MAKEALL is the board target name
_without_ the "_config" part.  What does "make -v" report for you?
[GNU Make 3.82 on my end.]

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
[War] is instinctive. But the instinct can  be  fought.  We're  human
beings  with the blood of a million savage years on our hands! But we
can stop it. We can admit that we're killers ... but we're not  going
to  kill  today. That's all it takes! Knowing that we're not going to
kill today!
	-- Kirk, "A Taste of Armageddon", stardate 3193.0


More information about the U-Boot mailing list