[U-Boot-Users] Uboot and ML410
jhahn at bcfsemi.com
Thu Dec 6 21:23:23 CET 2007
Bringing a discussion thread over from
> From: linuxppc-embedded-bounces+jhahn=bcfsemi.com at ozlabs.org
> [mailto:linuxppc-embedded-bounces+jhahn=bcfsemi.com at ozlabs.org] On
> Behalf Of khollan
> Sent: Thursday, December 06, 2007 11:01 AM
> John Hahn wrote:
> > We are also using 3.81 make (Centos 5 distro) with ELDK 4.1 version
> > downloaded from www.denx.de and have had no problems using the
> > u-boot.zip srcs from www.xilinx.com/ml410_p, though we use uboot for
> > our ml403 based development, we can build u-boot for ml403_config as
> well as ml410_config.
> > Cheers
> > John
> When I try compiling with my tools I get the message No rule to make
> target `hello_world.srec', needed by `all'
> Any way to work around this. I have compiled everything else I use on
> my system with these tools and it works fine. I did some research on
> this problem and it seemed to be a problem with the newer versions of
> make, but if thats not the case what is the problem? I don't really
> want to install ELDK to keep things consistent.
The targets in examples are example programs for uboot to load/exec and is
not part of u-boot. You can avoid building in examples.
But the build problem appears to be due to examples/Makefile syntax. Try:
-BIN = hello_world hello_world.bin
+BIN = hello_world.bin hello_world
... similar corrections for the other targets, and finally
-all: .depend $(OBJS) $(LIB) $(BIN) $(SREC)
+all: .depend $(OBJS) $(LIB) $(SREC) $(BIN)
John S Hahn
More information about the U-Boot