diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-07-17 15:17:37 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:58 -0300 |
commit | 4746fc1cb8d90dbeea36c1743315923e2184bf26 (patch) | |
tree | 4266716044adb70965657fdd47a551a8e5dc1d0c /dynamic-layers/browser-layer/recipes-browser/chromium | |
parent | df14a6c4b12a3129463f5ac4e265e3df90ee97f6 (diff) | |
download | meta-freescale-4746fc1cb8d90dbeea36c1743315923e2184bf26.tar.gz |
use 64b toolchain binaries to build e6500 kernel
e6500 only supports 64b kernel. When building 64b kernel + 32b rootfs,
kernel build uses a hack previously, ie. append '-m64' and '-elf64ppc'
to 32b toolchain binaries. This fails if kernel use some builtin functions:
| LINK vmlinux
| LD vmlinux.o
| powerpc-fsl-linux-ld.bfd: Relocatable linking with relocations from
| format elf32-powerpc (.../4.9.2/libgcc.a(_popcountdi2.o)) to format
| elf64-powerpc (vmlinux.o) is not supported
| make: *** [vmlinux] Error 1
| ERROR: oe_runmake failed
modify KERNEL_{CC,LD,AR} to use 64b toolchain binaries to avoid error.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'dynamic-layers/browser-layer/recipes-browser/chromium')
0 files changed, 0 insertions, 0 deletions