]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: support building double-float modules
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 12 Oct 2022 12:59:51 +0000 (14:59 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 20 Oct 2022 07:22:21 +0000 (15:22 +0800)
commite67f34f778baabd76f2e0e645a409fed14d2d156
treed7600fc3897f81edad9281cb5b082d65a5d0e69e
parentf22db44c1bb6ae86b0ffb416bdd690bcf97d7250
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>
arch/riscv/Kconfig
arch/riscv/Makefile