riscv: support building double-float modules 20/292220/2
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 12 Oct 2022 12:59:51 +0000 (14:59 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 3 May 2023 01:39:27 +0000 (01:39 +0000)
commit9f97ea1bafffd6b4e56f1accc6b401a3961b9459
treeffb168d425d5df6ec3bb0df22238ca8450520338
parent8971f4e07a5ea8882a52f7d96242408b4386ee28
riscv: support building double-float modules

The riscv32 toolchain for GCC-12 provided by kernel.org contains libgcc.a
compiled for double-float. To link to it we have to adjust how we build
U-Boot.

As U-Boot actually does not use floating point at all this should not
make a significant difference for the produced binaries.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
(cherry picked from commit e67f34f778baabd76f2e0e645a409fed14d2d156)

Change-Id: I674fb274fa4c6c650f48c39ce92dde2e3e01d966
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/riscv/Kconfig
arch/riscv/Makefile