[U-Boot-Users] compilation problems with M5272C3

David van Geest david at rhythmreloaded.com
Mon Jan 7 02:21:16 CET 2008


Hi all,

I'm trying to compile U-Boot for the M5272C3 board.  I'm using
m68k-elf-tools-20030314, and have downloaded u-boot using

git clone git://www.denx.de/git/u-boot.git u-boot/

First, I run make distclean, that seems to work fine.  Then I do the following:

david at chiron:~/u-boot$ make M5272C3_config
Configuring for M5272C3 board...
david at chiron:~/u-boot$ make
Generating include/autoconf.mk
m68k-elf-gcc: /home/david/u-boot/include/autoconf.mk: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
m68k-elf-gcc: Compilation of header file requested
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/home/david/u-boot/tools'
ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
ln -s ../lib_generic/sha1.c sha1.c
make[1]: Leaving directory `/home/david/u-boot/tools'
make[1]: Entering directory `/home/david/u-boot/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/david/u-boot/tools'
make[1]: Entering directory `/home/david/u-boot/examples'
m68k-elf-gcc: hello_world.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
m68k-elf-gcc: stubs.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/home/david/u-boot/examples'
make: *** [depend] Error 2

Any ideas on what's going on here?  Do I need a different version of
the m68k-elf-tools?

Thanks,

-David van Geest
[ Rhythm Reloaded ]
www.rhythmreloaded.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080106/b4766e7f/attachment.htm 


More information about the U-Boot mailing list