From 3214d9d2b8ed3decd33c99dcc01172add28cf94c Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 26 Aug 2023 18:56:28 +0200 Subject: [PATCH] configs/sipeed_{maixduino, maix_go}_sdcard_defconfig: fix build with binutils >= 2.38 Backport an upstream patch fixing the build with binutils >= 2.38 for riscv's for Zicsr and Zifencei. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/4936949340 https://gitlab.com/buildroot.org/buildroot/-/jobs/4936949329 Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- configs/sipeed_maix_go_sdcard_defconfig | 1 + configs/sipeed_maixduino_sdcard_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig index 6c61e3aaaf..2bea0b97be 100644 --- a/configs/sipeed_maix_go_sdcard_defconfig +++ b/configs/sipeed_maix_go_sdcard_defconfig @@ -17,6 +17,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y BR2_BINFMT_FLAT=y BR2_BINFMT_FLAT_ONE=y # BR2_TARGET_ENABLE_ROOT_LOGIN is not set +BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" # Kernel BR2_LINUX_KERNEL=y diff --git a/configs/sipeed_maixduino_sdcard_defconfig b/configs/sipeed_maixduino_sdcard_defconfig index da8cbe45f9..db7896fadf 100644 --- a/configs/sipeed_maixduino_sdcard_defconfig +++ b/configs/sipeed_maixduino_sdcard_defconfig @@ -17,6 +17,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y BR2_BINFMT_FLAT=y BR2_BINFMT_FLAT_ONE=y # BR2_TARGET_ENABLE_ROOT_LOGIN is not set +BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" # Kernel BR2_LINUX_KERNEL=y