[U-Boot] [PATCH v2] makefiles: fixes for building build tools
Stefan Roese
sr at denx.de
Fri Dec 4 04:45:07 CET 2009
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.
<snip>
> > 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
More information about the U-Boot
mailing list