From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 4 Dec 2009 04:45:07 +0100 Subject: [U-Boot] [PATCH v2] makefiles: fixes for building build tools In-Reply-To: <4B180CF9.4030401@freescale.com> References: <20091105004141.GB925@loki.buserror.net> <200912031917.06900.sr@denx.de> <4B180CF9.4030401@freescale.com> Message-ID: <200912040445.07422.sr@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 On Thursday 03 December 2009 20:09:45 Scott Wood wrote: > > Hmmm. I don't see this here. Do you only see this for katmai, or for > > other 4xx targets as well? kilauea, sequoia? > > Looks like all of them. Thanks. I'll try to investigate here further soon. > > So the complete tools directory is compiled for powerpc! > > Actually, it looks like it's just the files whose sources live somewhere > else (look at envcrc.c, for example). Those files should be hitting these > rules inside tools/Makefile: > > # Some of the tool objects need to be accessed from outside the tools > directory $(obj)%.o: $(SRCTREE)/common/%.c > $(HOSTCC) -g $(HOSTCFLAGS_NOPED) -c -o $@ $< > > $(obj)%.o: $(SRCTREE)/lib_generic/%.c > $(HOSTCC) -g $(HOSTCFLAGS) -c -o $@ $< > > Do you by any chance have a copy of/link to crc32.c, env_embedded.c, etc. > sitting in your tools directory, allowing it to match the normal pattern > rule? Yes. I had links of those files there. After removing those it works fine. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de