From: Wolfgang Denk Date: Thu, 12 Jul 2012 08:10:24 +0200 Subject: [U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board In-Reply-To: References: <1337714515-6575-1-git-send-email-swarren@wwwdotorg.org> <20120711073332.65E4720028C@gemini.denx.de> <5FBF8E85CA34454794F0F7ECBA79798F379D66E55E@HQMAIL04.nvidia.com> Message-ID: <20120712061024.7FC5020034D@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 Joe Hershberger, In message 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.