<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">im currently working with the coldfire
port of u-boot. When I try to compile the examples, the following error
occurs:</font>
<br>
<div>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/misc/usb/tmp/u-boot/u-boot-work/examples'<br>
m68k-elf-gcc -g &nbsp;-Os &nbsp; -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0xffe00000
-I/misc/usb/tmp/u-boot/u-boot-work/include -fno-builtin</font>
<br><font size=2 face="sans-serif">-ffreestanding -nostdinc -isystem /usr/local/lib/gcc-lib/m68k-elf/2.95.3/include
-pipe &nbsp;-DCONFIG_M68K -D__M68K__ -m5307 -Wall -Wstrict-prototypes -c
-o hello_world.o hello_world.c<br>
m68k-elf-gcc -g &nbsp;-Os &nbsp; -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0xffe00000
-I/misc/usb/tmp/u-boot/u-boot-work/include -fno-builtin</font>
<br><font size=2 face="sans-serif">-ffreestanding -nostdinc -isystem /usr/local/lib/gcc-lib/m68k-elf/2.95.3/include
-pipe &nbsp;-DCONFIG_M68K -D__M68K__ -m5307 -Wall -Wstrict-prototypes -c
-o stubs.o stubs.c<br>
m68k-elf-ar crv libstubs.a &nbsp;stubs.o<br>
a - stubs.o<br>
make[1]: *** No rule to make target `hello_world.srec', needed by `all'.
&nbsp;Stop.<br>
make[1]: Leaving directory `/misc/usb/tmp/u-boot/u-boot-work/examples'<br>
make: *** [examples] Error 2</font>
<br>
<br><font size=2 face="sans-serif">It seems, there is a problem with the
chained implicit rules used to make the srecord file.</font>
<br><font size=2 face="sans-serif">If I swap the targets as shown below,
the problem dissapears:</font>
<br>
<br><font size=2 face="sans-serif">--- u-boot-2006-06-30-2020/examples/Makefile
&nbsp; 2006-07-20 14:01:19.000000000 +0200<br>
+++ u-boot-work/examples/Makefile &nbsp; &nbsp;2006-07-19 12:24:29.000000000
+0200<br>
@@ -60,7 +60,7 @@<br>
 include $(TOPDIR)/config.mk</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;SREC &nbsp; = hello_world.srec<br>
-BIN &nbsp; &nbsp;= hello_world.bin hello_world<br>
+BIN &nbsp; &nbsp;= &nbsp;hello_world hello_world.bin</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;ifeq ($(CPU),mpc8xx)<br>
 SREC &nbsp; = test_burst.srec<br>
@@ -122,7 +122,7 @@</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;CPPFLAGS += -I..</font>
<br>
<br><font size=2 face="sans-serif">-all: &nbsp; .depend $(OBJS) $(LIB)
$(SREC) $(BIN)<br>
+all: &nbsp; .depend $(OBJS) $(LIB) $(BIN) $(SREC)</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;#########################################################################<br>
 $(LIB): .depend $(LIBOBJS)</font>
<br>
<br><font size=2 face="sans-serif">I use Gnu Make 3.81 on a debian linux
host.</font>
<br><font size=2 face="sans-serif">Has anybody else had this problem? Would
it be ok to change the Makefile or is there another soluten?</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br>
<br><font size=2 face="sans-serif">Josef</font>
<br>
<br></div>