[U-Boot] Building for several archs
Fabio Estevam
festevam at gmail.com
Tue Oct 20 00:49:33 CEST 2015
On Mon, Oct 19, 2015 at 7:36 PM, Tom Rini <trini at konsulko.com> wrote:
> Something is very whacky. From my ~/.buildman:
>
> [toolchain]
> m68k: /opt/gcc-4.9.0-nolibc/m68k-linux
Interesting. For m68k I am using this same toolchain:
export ARCH=m68k
export CROSS_COMPILE=/usr/local/gcc-4.9.0-nolibc/m68k-linux/bin/m68k-linux-
make mrproper
make M54455EVB_defconfig
make
....
CC arch/m68k/cpu/mcf5445x/cpu.o
In file included from include/common.h:149:0,
from arch/m68k/cpu/mcf5445x/cpu.c:12:
include/asm/global_data.h:83:58: error: invalid register name for 'gd'
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
^
arch/m68k/cpu/mcf5445x/cpu.c:20:1: note: in expansion of macro
'DECLARE_GLOBAL_DATA_PTR'
DECLARE_GLOBAL_DATA_PTR;
^
arch/m68k/cpu/mcf5445x/cpu.c: In function 'checkcpu':
arch/m68k/cpu/mcf5445x/cpu.c:88:31: error: 'volatile struct
arch_global_data' has no member named 'flb_clk'
strmhz(buf3, gd->arch.flb_clk));
^
arch/m68k/cpu/mcf5445x/cpu.c:96:31: error: 'volatile struct
arch_global_data' has no member named 'inp_clk'
strmhz(buf1, gd->arch.inp_clk),
^
arch/m68k/cpu/mcf5445x/cpu.c:97:31: error: 'volatile struct
arch_global_data' has no member named 'vco_clk'
strmhz(buf2, gd->arch.vco_clk));
^
make[1]: *** [arch/m68k/cpu/mcf5445x/cpu.o] Error 1
make: *** [arch/m68k/cpu/mcf5445x] Error 2
More information about the U-Boot
mailing list