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-22 17:37:55 +0800 |
commit | c1a8932311a95a541da41de0b8095c8e0cc374d1 (patch) | |
tree | efb9e18cd0abdfaa844bdf92023c8efcef61dcda /recipes-kernel/linux/files/modify-defconfig-t1040-nr-cpus.patch | |
parent | 9a3b2ffb915db39ba5cda9fb6721cd82d8cecbb6 (diff) | |
download | meta-fsl-ppc-c1a8932311a95a541da41de0b8095c8e0cc374d1.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 'recipes-kernel/linux/files/modify-defconfig-t1040-nr-cpus.patch')
0 files changed, 0 insertions, 0 deletions