diff options
Diffstat (limited to 'poky/meta/recipes-bsp/u-boot/files/0001-riscv32-Use-double-float-ABI-for-rv32.patch')
-rw-r--r-- | poky/meta/recipes-bsp/u-boot/files/0001-riscv32-Use-double-float-ABI-for-rv32.patch | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/poky/meta/recipes-bsp/u-boot/files/0001-riscv32-Use-double-float-ABI-for-rv32.patch b/poky/meta/recipes-bsp/u-boot/files/0001-riscv32-Use-double-float-ABI-for-rv32.patch index 0ed3de4914..0bf1bef2c9 100644 --- a/poky/meta/recipes-bsp/u-boot/files/0001-riscv32-Use-double-float-ABI-for-rv32.patch +++ b/poky/meta/recipes-bsp/u-boot/files/0001-riscv32-Use-double-float-ABI-for-rv32.patch @@ -13,11 +13,16 @@ Upstream-Status: Inappropriate [embedded specific] arch/riscv/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile -index 0b80eb8d86..7324946f48 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile -@@ -9,7 +9,9 @@ ifeq ($(CONFIG_ARCH_RV64I),y) +@@ -5,11 +5,15 @@ + + ifeq ($(CONFIG_ARCH_RV64I),y) + ARCH_BASE = rv64im +- ABI = lp64 ++ ABI = lp64d ++ ARCH_D = d ++ ARCH_F = f endif ifeq ($(CONFIG_ARCH_RV32I),y) ARCH_BASE = rv32im @@ -28,7 +33,7 @@ index 0b80eb8d86..7324946f48 100644 endif ifeq ($(CONFIG_RISCV_ISA_A),y) ARCH_A = a -@@ -24,7 +26,7 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y) +@@ -24,7 +28,7 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y) CMODEL = medany endif @@ -37,6 +42,3 @@ index 0b80eb8d86..7324946f48 100644 -mcmodel=$(CMODEL) PLATFORM_CPPFLAGS += $(ARCH_FLAGS) --- -2.30.0 - |