[U-Boot-Users] Problems building ./tools

Steven Scholz steven.scholz at imc-berlin.de
Wed Aug 13 15:53:17 CEST 2003


Hi there,

I just pulled U-Boot CVS and tried to build a standard target:

~ # make TQM860L_config
rm -f include/config.h include/config.mk
Configuring for TQM860L board...
~ #  CROSS_COMPILE=ppc_8xx- LANG=en make all

But I do get

make[1]: Entering directory `/home/denx/CVSDENX/u-boot/tools'
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for dir in  ; do  make  HOSTOS=linux  HOSTARCH=i386  HOST_CFLAGS="-Wall -pedantic"  HOST_LDFLAGS=""  -C $dir || exit 1 ;  done'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/denx/CVSDENX/u-boot/tools'
make: *** [subdirs] Error 1

Troublemakers are the lines in tools/Makefile:

subdirs:
                 @for dir in $(TOOLSUBDIRS) ; do \
                     $(MAKE) \
                         HOSTOS=$(HOSTOS) \
                         HOSTARCH=$(HOSTARCH) \
                         HOST_CFLAGS="$(HOST_CFLAGS)" \
                         HOST_LDFLAGS="$(HOST_LDFLAGS)" \
                         -C $$dir || exit 1 ; \
                 done

since TOOLSUBDIRS is explicitly set emtpy in tools/Makefile!

???

Steven





More information about the U-Boot mailing list