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>
31 lines
682 B
Plaintext
31 lines
682 B
Plaintext
# Architecture
|
|
BR2_powerpc64=y
|
|
BR2_powerpc_power7=y
|
|
|
|
# System
|
|
BR2_BINUTILS_VERSION_2_36_X=y
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# Linux headers same as 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="pseries"
|
|
BR2_LINUX_KERNEL_VMLINUX=y
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|