Hi Jean-Christophe, (Sorry for misspelling your name in the last email;) On Thu, 2008-08-28 at 10:26 -0500, Peter Tyser wrote: > Hi Jean-Chritophe, > > On Thu, 2008-08-28 at 12:27 +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> > > --- > > common/Makefile | 3 +- > > common/{cmd_autoscript.c => autoscript.c} | 44 -------- > > common/cmd_autoscript.c | 158 > > ----------------------------- > > 3 files changed, 2 insertions(+), 203 deletions(-) > > copy common/{cmd_autoscript.c => autoscript.c} (79%) > > > > diff --git a/common/Makefile b/common/Makefile > > index 0c8ef5b..92d7a9e 100644 > > --- a/common/Makefile > > +++ b/common/Makefile > > @@ -31,7 +31,8 @@ COBJS-y += main.o > > COBJS-$(CONFIG_CMD_BEDBUG) += bedbug.o > > COBJS-y += circbuf.o > > COBJS-$(CONFIG_CMD_AMBAPP) += cmd_ambapp.o > > -COBJS-y += cmd_autoscript.o > > +COBJS-$(CONFIG_AUTOSCRIPT)$(CONFIG_CMD_AUTOSCRIPT) += autoscript.o > > Will we run into problems when both CONFIG_AUTOSCRIPT and > CONFIG_CMD_AUTOSCRIPT are defined? Adding the following should account > for that situation: > > COBJS-y += $(COBJS-yy) > > > +COBJS-$(CONFIG_CMD_AUTOSCRIPT) += cmd_autoscript.o > > COBJS-$(CONFIG_CMD_BDI) += cmd_bdinfo.o > > COBJS-$(CONFIG_CMD_BEDBUG) += cmd_bedbug.o > > COBJS-$(CONFIG_CMD_BMP) += cmd_bmp.o >
Forget that last comment - it looks like you made the fix later in the patch series ([PATCH 08/12] common/Makefile: order by functionality). It might be good to move the addition of "COBJS-y += $(COBJS-yy)" to [PATCH 06/12] so that compiles don't break between those 2 commits when bisecting in the future. Sorry for the noise. Best, Peter _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot