From d710c248c5b0dfad078eb02765722fd131a95afc Mon Sep 17 00:00:00 2001 From: Hanyuan Zhao Date: Mon, 27 Nov 2023 18:31:33 +0800 Subject: [PATCH] feat: restore the use of musl --- configs/milkv_duo_musl_riscv64_64mb_defconfig | 1 + configs/milkv_duo_musl_riscv64_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/milkv_duo_musl_riscv64_64mb_defconfig b/configs/milkv_duo_musl_riscv64_64mb_defconfig index 1add2eacdf6e..48b77ae48db2 100644 --- a/configs/milkv_duo_musl_riscv64_64mb_defconfig +++ b/configs/milkv_duo_musl_riscv64_64mb_defconfig @@ -9,6 +9,7 @@ BR2_KERNEL_HEADERS_5_10=y # Using gcc13 to have t-head's optimization and features BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_TOOLCHAIN_BUILDROOT_MUSL=y BR2_TARGET_OPTIMIZATION="-march=rv64imafdc_xtheadba_xtheadbb_xtheadbs_xtheadcmo_xtheadcondmov_xtheadfmemidx_xtheadfmv_xtheadint_xtheadmac_xtheadmemidx_xtheadmempair_xtheadsync" BR2_TARGET_LDFLAGS="-march=rv64imafdc_xtheadba_xtheadbb_xtheadbs_xtheadcmo_xtheadcondmov_xtheadfmemidx_xtheadfmv_xtheadint_xtheadmac_xtheadmemidx_xtheadmempair_xtheadsync" diff --git a/configs/milkv_duo_musl_riscv64_defconfig b/configs/milkv_duo_musl_riscv64_defconfig index 074d9388e85c..d29fd0faf442 100644 --- a/configs/milkv_duo_musl_riscv64_defconfig +++ b/configs/milkv_duo_musl_riscv64_defconfig @@ -9,6 +9,7 @@ BR2_KERNEL_HEADERS_5_10=y # Using gcc13 to have t-head's optimization and features BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_TOOLCHAIN_BUILDROOT_MUSL=y BR2_TARGET_OPTIMIZATION="-march=rv64imafdc_xtheadba_xtheadbb_xtheadbs_xtheadcmo_xtheadcondmov_xtheadfmemidx_xtheadfmv_xtheadint_xtheadmac_xtheadmemidx_xtheadmempair_xtheadsync" BR2_TARGET_LDFLAGS="-march=rv64imafdc_xtheadba_xtheadbb_xtheadbs_xtheadcmo_xtheadcondmov_xtheadfmemidx_xtheadfmv_xtheadint_xtheadmac_xtheadmemidx_xtheadmempair_xtheadsync"