Re: [U-Boot] [PATCH] Makefile: compile and link each module just once

2008-09-09 Thread Wolfgang Denk
Dear JerryVanBaren, In message <[EMAIL PROTECTED]> you wrote: > > Time for that beer we all owe you. You can put the first one on my tab. Here it is. Sorry, it's just a virtual one. Make sure to correctly initialize your TLBs... Best regards, Wolfgang Denk -- DENX Software Engineering G

Re: [U-Boot] [PATCH] Makefile: compile and link each module just once

2008-09-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:10 Tue 09 Sep , JerryVanBaren wrote: > Wolfgang Denk wrote: > > Dear Andreas Engel, > > > > In message <[EMAIL PROTECTED]> you wrote: > >> Wolfgang Denk wrote: > >>> [...] > >>> "COBJS = $(sort COBJS-y)" which eliminates duplicates. > >>> [...] > >>> +COBJS := $(sort COBJS-y) > >>> [...

Re: [U-Boot] [PATCH] Makefile: compile and link each module just once

2008-09-09 Thread JerryVanBaren
Wolfgang Denk wrote: > Dear Andreas Engel, > > In message <[EMAIL PROTECTED]> you wrote: >> Wolfgang Denk wrote: >>> [...] >>> "COBJS = $(sort COBJS-y)" which eliminates duplicates. >>> [...] >>> +COBJS := $(sort COBJS-y) >>> [...] >>> +COBJS := $(sort COBJS-y) >>> [...] >>> +COBJS := $(sort CO

Re: [U-Boot] [PATCH] Makefile: compile and link each module just once

2008-09-09 Thread Wolfgang Denk
Dear Andreas Engel, In message <[EMAIL PROTECTED]> you wrote: > Wolfgang Denk wrote: > > [...] > > "COBJS = $(sort COBJS-y)" which eliminates duplicates. > > [...] > > +COBJS := $(sort COBJS-y) > > [...] > > +COBJS := $(sort COBJS-y) > > [...] > > +COBJS := $(sort COBJS-y) > > I think you'll h

Re: [U-Boot] [PATCH] Makefile: compile and link each module just once

2008-09-09 Thread Andreas Engel
Wolfgang Denk wrote: > [...] > "COBJS = $(sort COBJS-y)" which eliminates duplicates. > [...] > +COBJS := $(sort COBJS-y) > [...] > +COBJS := $(sort COBJS-y) > [...] > +COBJS := $(sort COBJS-y) I think you'll have more luck with $(sort $(COBJS-y)). Regards, Andreas _

[U-Boot] [PATCH] Makefile: compile and link each module just once

2008-09-09 Thread Wolfgang Denk
Several source files need to be compiled and linked when one or more config options are selected. To allow for easy selection in the Makefiles yet to avoild multiple compilation (which costs build time) and especially multiple linking (which causes errors), we use "COBJS = $(sort COBJS-y)" which el