[U-Boot-Users] u-boot-1.2.0 cross compilation fails

Hi All,
I was trying to build u-boot-1.2.0 for atmel (u-boot source code delivered by the board vendor). Tried this:
$ make CROSS_COMPILE=arm-linux- sam9l9260_config $ make CROSS_COMPILE=arm-linux-
but it failed:
make -C tools all make[1]: Entering directory `/home/sam9l9260/u-boot-1.2.0-atmel/tools' make[1]: *** No rule to make target `/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/stddef.h', needed by `img2srec.o'. Stop. make[1]: Leaving directory `/home/sam9l9260/u-boot-1.2.0-atmel/tools' make: *** [tools] Error 2
Looks like some header file related to Cygwin (which I don't need use). I'm cross-compiling on Linux etch. Tried poking into Makefile but to no avail.
Thanks, g.

Hi George,
I was trying to build u-boot-1.2.0 for atmel (u-boot source code delivered by the board vendor). Tried this:
$ make CROSS_COMPILE=arm-linux- sam9l9260_config $ make CROSS_COMPILE=arm-linux-
but it failed:
make -C tools all make[1]: Entering directory `/home/sam9l9260/u-boot-1.2.0-atmel/tools' make[1]: *** No rule to make target `/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/stddef.h', needed by `img2srec.o'. Stop. make[1]: Leaving directory `/home/sam9l9260/u-boot-1.2.0-atmel/tools' make: *** [tools] Error 2
Looks like some header file related to Cygwin (which I don't need use). I'm cross-compiling on Linux etch. Tried poking into Makefile but to no avail.
Complain to where you got the sources from. In the official U-Boot 1.2.0 there is no sam9l9260 support. We cannot help you here much I'm afraid.
Cheers Detlev
participants (2)
-
Detlev Zundel
-
George Pitich