1e2fe860f3
ppc64 or powernv Linux defconfig fail to build with gcc 11 and/or binutils 2.37 [1] : CC kernel/kexec_file.o Cannot find symbol for section 10: .text.unlikely. kernel/kexec_file.o: failed Patches have been sent upstream and should reach Linux 5.18. Until then, limit binutils to 2.36.1 which doesn't raise the issue. [1] https://github.com/linuxppc/issues/issues/388 Cc: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
32 lines
782 B
Plaintext
32 lines
782 B
Plaintext
# Architecture
|
|
BR2_powerpc64=y
|
|
BR2_powerpc_e5500=y
|
|
|
|
# System
|
|
BR2_BINUTILS_VERSION_2_36_X=y
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# Linux headers same as the kernel
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc64-e5500/linux.fragment"
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|