configs/snps_archs38_hsdk_defconfig: use hard-float
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Sat, 16 Jan 2021 12:42:11 +0000 (13:42 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 16 Jan 2021 12:42:11 +0000 (13:42 +0100)
Hard-float support is pretty stable, so make that default for HSDK
boards.

The hard-float setting is a bit convulated since current ARC gcc lacks
--with-fpu - so this is done with BR2_TARGET_OPTIMIZATION

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[yann.morin.1998@free.fr: split off into its own commit]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
configs/snps_archs38_hsdk_defconfig

index 8dceb3450b18b08d20ed654fb3c5ac1d1192f969..69d0b1936b3ace5f6a1d854c471be4c2653c4c53 100644 (file)
@@ -3,6 +3,7 @@ BR2_archs38_full=y
 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
 BR2_PACKAGE_GLIBC_UTILS=y
+BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all"
 BR2_TARGET_GENERIC_HOSTNAME="hsdk"
 BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform"
 BR2_SYSTEM_DHCP="eth0"