]> git.baikalelectronics.ru Git - uboot.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)
commitb67bd8f4c565ce6d7205079ba02b7b44e33229b0
treed7600fc3897f81edad9281cb5b082d65a5d0e69e
parentf7f6caca5842193559f64506396ea718929ea662
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