From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cam Date: Sun, 14 Dec 2003 11:43:01 +0000 Subject: [U-Boot-Users] Error on making u-boot In-Reply-To: <20031214023804.61973.qmail@web15007.mail.bjs.yahoo.com> References: <20031214023804.61973.qmail@web15007.mail.bjs.yahoo.com> Message-ID: <3FDC4CC5.4000501@mesias.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de SAM SONG > Have you met it?After masking three files,hello_world.bin,sched.bin > ,timer.bin in Makefile of examples directory,it succeeded.But there > aren't three files in the directory.I use Montavista Linux Pro 3.0.Any > hints? There was recently a patch which works around a bug in the montavista objcopy. The problem is that it doesn't handle SREC input (even if you use -I srec). The workaround is to ignore the problem - like you say the make will succeed eventually, or change the commands in the examples/Makefile like this: Near the rule that says: %.bin: %.srec Replace this line: $(OBJCOPY) -O binary $< $@ 2>/dev/null With this line: $(OBJCOPY) -O binary $(<:.srec=) $@ 2>/dev/null -Cam