Dear Kim Phillips, In message <20111104164356.5ab650e3a7af28de76f55...@freescale.com> you wrote: > when a mkimage binary isn't present in the default system PATH, we > get this error: > > $ ./MAKEALL MVBLM7 > Configuring for MVBLM7 board... > make[1]: mkimage: Command not found > make[1]: *** [libmvblm7.o] Error 127 > make: *** [board/matrix_vision/mvblm7/libmvblm7.o] Error 2 > powerpc-linux-gnu-size: './u-boot': No such file > > fix by referencing u-boot's built-in mkimage instead. > > Signed-off-by: Kim Phillips <kim.phill...@freescale.com> > --- > board/matrix_vision/mvblm7/Makefile | 2 +- > board/matrix_vision/mvsmr/Makefile | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/board/matrix_vision/mvblm7/Makefile > b/board/matrix_vision/mvblm7/Makefile > index 81761ca..48a602c 100644 > --- a/board/matrix_vision/mvblm7/Makefile > +++ b/board/matrix_vision/mvblm7/Makefile > @@ -32,7 +32,7 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) > > $(LIB): $(obj).depend $(OBJS) > $(call cmd_link_o_target, $(OBJS)) > - @mkimage -T script -C none -n M7_script -d bootscript > $(obj)bootscript.img > + @$(OBJTREE)/tools/mkimage -T script -C none -n M7_script -d bootscript > $(obj)bootscript.img
If we do that, should then $(OBJTREE)/tools/mkimage not be listed as dependency for this step? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de "There are three principal ways to lose money: wine, women, and engi- neers. While the first two are more pleasant, the third is by far the more certain." - Baron Rothschild, ca. 1800 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot