[U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board

Wolfgang Denk wd at denx.de
Thu Jul 12 08:10:24 CEST 2012


Dear Joe Hershberger,

In message <CANr=Z=YrWW27x1ZhDw4WqtdOy1vdaXy+rAX1brBLULUH5QHbpg at mail.gmail.com> you wrote:
> 
> >> It also breaks a number of ARM boards...
> >>
> >> LOG/at91sam9263ek_norflash_boot.ERR:3:/home/joe/u-boot/include/config.h:5:0:
> >> warning: "CONFIG_SYS_BOARD" redefined [enabled by default]
> > I don't see any of these doing a MAKEALL -s at91 on either u-boot-tegra/master or u-boot-arm/master, with gcc 4.6.2 and 4.4.1.
> 
> I noticed them when building u-boot-net/next (which is based on
> u-boot/master).  Building with Sourcery gcc 4.6.1.  MAKEALL -a arm
> 
> It may be caused by something else.  I just noticed it and it seemed related.

I had the same problem.  In my case it happenend when I ran an
out-of-tree build from a directory in which I had run an in-tree build
before.  Running "make mrproper" in the repository fixed the
out-of-tree build.

Yes, these should not be influencing each other, but they do.  It
appears there is a bad #include somewhere.  I didn't have time to look
into that yet.

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
A bore is someone who persists in holding his own views after we have
enlightened him with ours.


More information about the U-Boot mailing list