Hit below build errors (on ARM platforms): axel@phoenix:~/repos/git/u-boot$ make mx31pdk Configuring for mx31pdk board... make make[1]: Entering directory `/home/axel/repos/git/u-boot' Generating include/autoconf.mk Generating include/autoconf.mk.dep make[1]: Leaving directory `/home/axel/repos/git/u-boot' make[1]: Entering directory `/home/axel/repos/git/u-boot' Generating include/spl-autoconf.mk Generating include/tpl-autoconf.mk arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x87e00000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S Generating include/generated/generic-asm-offsets.h tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h if [ -f arch/arm/cpu/arm1136/mx31/asm-offsets.c ];then \ arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x87e00000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \ -o arch/arm/cpu/arm1136/mx31/asm-offsets.s arch/arm/cpu/arm1136/mx31/asm-offsets.c -c -S; \ else \ touch arch/arm/cpu/arm1136/mx31/asm-offsets.s; \ fi Generating include/generated/asm-offsets.h tools/scripts/make-asm-offsets arch/arm/cpu/arm1136/mx31/asm-offsets.s include/generated/asm-offsets.h for dir in tools examples/standalone examples/api arch/arm/cpu/arm1136 ; do \ make -C $dir _depend ; done make[2]: Entering directory `/home/axel/repos/git/u-boot/tools' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/tools' make[2]: Entering directory `/home/axel/repos/git/u-boot/examples/standalone' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/examples/standalone' make[2]: Entering directory `/home/axel/repos/git/u-boot/examples/api' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/examples/api' make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/arm1136' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/arm1136' make -C tools all make[2]: Entering directory `/home/axel/repos/git/u-boot/tools' make[2]: *** No rule to make target `/home/axel/repos/git/u-boot/include/asm/arch/cpu.h', needed by `env_embedded.o'. Stop. make[2]: Leaving directory `/home/axel/repos/git/u-boot/tools' make[1]: *** [tools] Error 2 make[1]: Leaving directory `/home/axel/repos/git/u-boot' make: *** [mx31pdk] Error 2
And also hit build error for "make omap3_beagle": $ make omap3_beagle Configuring for omap3_beagle board... make make[1]: Entering directory `/home/axel/repos/git/u-boot' Generating include/autoconf.mk Generating include/autoconf.mk.dep make[1]: Leaving directory `/home/axel/repos/git/u-boot' make[1]: Entering directory `/home/axel/repos/git/u-boot' Generating include/spl-autoconf.mk Generating include/tpl-autoconf.mk arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S Generating include/generated/generic-asm-offsets.h tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h if [ -f arch/arm/cpu/armv7/omap3/asm-offsets.c ];then \ arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \ -o arch/arm/cpu/armv7/omap3/asm-offsets.s arch/arm/cpu/armv7/omap3/asm-offsets.c -c -S; \ else \ touch arch/arm/cpu/armv7/omap3/asm-offsets.s; \ fi Generating include/generated/asm-offsets.h tools/scripts/make-asm-offsets arch/arm/cpu/armv7/omap3/asm-offsets.s include/generated/asm-offsets.h for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 ; do \ make -C $dir _depend ; done make[2]: Entering directory `/home/axel/repos/git/u-boot/tools' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/tools' make[2]: Entering directory `/home/axel/repos/git/u-boot/examples/standalone' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/examples/standalone' make[2]: Entering directory `/home/axel/repos/git/u-boot/examples/api' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/examples/api' make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7' make[2]: Nothing to be done for `_depend'. make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7' make -C tools all make[2]: Entering directory `/home/axel/repos/git/u-boot/tools' gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/axel/repos/git/u-boot/include/libfdt_env.h -idirafter /home/axel/repos/git/u-boot/include -idirafter /home/axel/repos/git/u-boot/include2 -idirafter /home/axel/repos/git/u-boot/include -I /home/axel/repos/git/u-boot/lib/libfdt -I /home/axel/repos/git/u-boot/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -c -o env_embedded.o /home/axel/repos/git/u-boot/common/env_embedded.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/axel/repos/git/u-boot/include/libfdt_env.h -idirafter /home/axel/repos/git/u-boot/include -idirafter /home/axel/repos/git/u-boot/include2 -idirafter /home/axel/repos/git/u-boot/include -I /home/axel/repos/git/u-boot/lib/libfdt -I /home/axel/repos/git/u-boot/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o envcrc.o envcrc.c -c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/axel/repos/git/u-boot/include/libfdt_env.h -idirafter /home/axel/repos/git/u-boot/include -idirafter /home/axel/repos/git/u-boot/include2 -idirafter /home/axel/repos/git/u-boot/include -I /home/axel/repos/git/u-boot/lib/libfdt -I /home/axel/repos/git/u-boot/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o envcrc crc32.o env_embedded.o envcrc.o sha1.o gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /home/axel/repos/git/u-boot/include/libfdt_env.h -idirafter /home/axel/repos/git/u-boot/include -idirafter /home/axel/repos/git/u-boot/include2 -idirafter /home/axel/repos/git/u-boot/include -I /home/axel/repos/git/u-boot/lib/libfdt -I /home/axel/repos/git/u-boot/tools -DCONFIG_SYS_TEXT_BASE=0x80100000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -pedantic -o proftool proftool.o strip proftool make[3]: Entering directory `/home/axel/repos/git/u-boot/tools/kernel-doc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/axel/repos/git/u-boot/tools/kernel-doc' make[2]: Leaving directory `/home/axel/repos/git/u-boot/tools' make -C arch/arm/cpu/armv7 start.o make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7' arm-unknown-linux-gnueabi-gcc -D__ASSEMBLY__ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -o start.o start.S -c make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7' make -C api/ make[2]: Entering directory `/home/axel/repos/git/u-boot/api' make[2]: `libapi.o' is up to date. make[2]: Leaving directory `/home/axel/repos/git/u-boot/api' make -C arch/arm/cpu/armv7/ make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7' arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o cache_v7.o cache_v7.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o cpu.o cpu.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o syslib.o syslib.c -c arm-unknown-linux-gnueabi-ld.bfd -r -o libarmv7.o cache_v7.o cpu.o syslib.o make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7' make -C arch/arm/cpu/armv7/omap-common/ make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7/omap-common' arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o reset.o reset.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o timer.o timer.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o utils.o utils.c -c arm-unknown-linux-gnueabi-ld.bfd -r -o libomap-common.o reset.o timer.o utils.o make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7/omap-common' make -C arch/arm/cpu/armv7/omap3/ make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7/omap3' arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o board.o board.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o clock.o clock.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o mem.o mem.c -c arm-unknown-linux-gnueabi-gcc -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o sys_info.o sys_info.c -c arm-unknown-linux-gnueabi-gcc -D__ASSEMBLY__ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -o lowlevel_init.o lowlevel_init.S -c arm-unknown-linux-gnueabi-ld.bfd -r -o libomap3.o board.o clock.o mem.o sys_info.o sdrc.o lowlevel_init.o make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/armv7/omap3' make -C arch/arm/lib/ make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/lib' make[2]: *** No rule to make target `/home/axel/repos/git/u-boot/include/asm/arch/hardware.h', needed by `crt0.o'. Stop. make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/lib' make[1]: *** [arch/arm/lib/libarm.o] Error 2 make[1]: Leaving directory `/home/axel/repos/git/u-boot' make: *** [omap3_beagle] Error 2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot