[U-Boot] building mx5 targets with O= fails

John Rigby john.rigby at linaro.org
Tue Aug 16 08:12:45 CEST 2011


Stefano,

Since:

commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47
Author: Stefano Babic <sbabic at denx.de>
Date:   Thu Jul 7 03:37:06 2011 +0000

    MX5: Update to autogenerated asm-offsets.h

    On i.MX5, the asm-offsets.h file is not yet generated as it should be.

    Signed-off-by: Stefano Babic <sbabic at denx.de>
    CC: Matthias Weisser <weisserm at arcor.de>

building with O= does not work for me:

make[1]: Entering directory
`/home/jcrigby/work/git-trees/u-boot/u-boot/arch/arm/cpu/armv7/mx5'
arm-linux-gnueabi-gcc-4.5   -D__ASSEMBLY__ -g  -Os   -fno-common
-ffixed-r8 -msoft-float   -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x97800000
-I/home/jcrigby/work/git-trees/u-boot/u-boot/debian/build/mx/include2
-I/home/jcrigby/work/git-trees/u-boot/u-boot/debian/build/mx/include
-I/home/jcrigby/work/git-trees/u-boot/u-boot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.5.3/include -pipe  -DCONFIG_ARM
-D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5
-o /home/jcrigby/work/git-trees/u-boot/u-boot/debian/build/mx/arch/arm/cpu/armv7/mx5/lowlevel_init.o
lowlevel_init.S -c
lowlevel_init.S:24:34: fatal error: asm/arch/asm-offsets.h: No such
file or directory
compilation terminated.

--john


More information about the U-Boot mailing list