diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-07-17 15:17:37 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-07-20 17:10:48 +0800 |
commit | 77dad3bc51d46369c4278d0a7eb6b4aa0e052992 (patch) | |
tree | 7fdaaa4d8108a49fe8898b2200e5e37b38a63e2c /conf/machine/t2080qds-64b.conf | |
parent | 48efcda38cb504c3aa0f46a182438c48f9035f30 (diff) | |
download | meta-fsl-ppc-77dad3bc51d46369c4278d0a7eb6b4aa0e052992.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>
Diffstat (limited to 'conf/machine/t2080qds-64b.conf')
0 files changed, 0 insertions, 0 deletions