mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
6f9cf3b5fa
Since commit dc0f721
"package/gcc: switch to 13.x as default",
mx51evk_defconfig is failing to build in Kernel (see [1]),
with output:
drivers/ata/libahci.c: In function 'ahci_led_store':
././include/linux/compiler_types.h:315:45: error: call to '__compiletime_assert_328' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
315 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
This commit fixes the issue by bumping the Kernel to 5.10.218.
The kernel commit fixing the build failure is [2], first included in
v5.10.184. There is also many other gcc-13 fixes.
While bumping the Kernel, this commit also enables
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y, add the relevant archive hash files,
and removes the defconfig entry in ".checkpackageignore".
Fixes: [1]
[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/6918688967
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# Architecture
|
|
BR2_arm=y
|
|
BR2_cortex_a8=y
|
|
|
|
# Global patches directory and hash check
|
|
BR2_GLOBAL_PATCH_DIR="board/freescale/imx51evk/patches"
|
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
|
|
|
# Linux headers same as kernel, a 5.10 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
|
|
|
# required tools to create the SD card image
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|
|
|
|
# Filesystem
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
# Bootloader
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BOARDNAME="mx51evk"
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01"
|
|
BR2_TARGET_UBOOT_FORMAT_IMX=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.218"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx51-babbage"
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|