]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools: make it possible to build tools unconfigured
authorMike Frysinger <vapier@gentoo.org>
Sun, 19 Jun 2011 08:27:39 +0000 (08:27 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 22 Jun 2011 18:03:13 +0000 (20:03 +0200)
commit2ad6e27dcdbd694de8e3823d2b52b250b1a59219
tree5b66fd4a842d3ab39bbffa06c17287865bc989fc
parent28abd48f508ba25ba8b1cdcb03425ac02f4c341b
tools: make it possible to build tools unconfigured

On Sunday, June 19, 2011 13:55:13 Ilya Yanok wrote:
> On 18.06.2011 23:03, Mike Frysinger wrote:
> >>  - tools/Makefile put common/env_embedded.o and envcrc.o to object list
> >>
> >> conditionally. This fixes errors during dependency generation.
> >
> > pretty sure this breaks board builds.  if the only thing this fixes is a
>
> I'm sorry but I can't see how this can break the builds. Could you
> please be more specific? I've tried to build some boards, it actually
> works...

i might be thinking of a different env_embedded situation.  a different
problem with your patch to tools/Makefile: you copied the same logic multiple
times which means more bitrot.

why dont you do something like:

> > harmless warning when generating dependency files, then i say ignore it.
> > after all, this is how it has always worked in the past and no one really
> > cared.
>
> Yep, they are harmless but they are not warnings but rather scary errors
> actually. ;) I think it's better to fix them.

i guess my threshold for being scared is a bit higher :p
-mike
tools/Makefile