From: John Hahn Date: Thu, 6 Dec 2007 12:23:23 -0800 Subject: [U-Boot-Users] Uboot and ML410 In-Reply-To: <14198812.post@talk.nabble.com> References: <14177109.post@talk.nabble.com> <00b501c83782$0f1241b0$2d36c510$@com> <14198812.post@talk.nabble.com> Message-ID: <000d01c83845$d98fd4c0$8caf7e40$@com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Bringing a discussion thread over from https://ozlabs.org/mailman/listinfo/linuxppc-embedded > 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. > Thanks > Kevin > -- 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) Cheers John _________________ John S Hahn BCF Semiconductor