[arm] Use -mfloat-abi=soft only for EFI builds

The EFI ABI requires the use of -mfloat-abi=soft, but other platforms
may require -mfloat-abi=hard.

Allow for this by using -mfloat-abi=soft only for EFI builds.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2023-01-23 01:32:14 +00:00
parent 9de6c45dd3
commit c5e1f007ac
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# -*- makefile -*- : Force emacs to use Makefile mode
# EFI uses the soft float ABI
#
CFLAGS += -mfloat-abi=soft
# Specify EFI image builder
#
ELF2EFI = $(ELF2EFI32)