OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Makefile: Don't specify mabi or march
@ 2020-10-19 22:41 Alistair Francis
  2020-10-19 22:56 ` Jessica Clarke
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Alistair Francis @ 2020-10-19 22:41 UTC (permalink / raw)
  To: opensbi

To avoid
    can't link double-float modules with soft-float modules
errors when building 32-bit openSBI don't specify mabi or march.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile b/Makefile
index a231881..3f819d9 100644
--- a/Makefile
+++ b/Makefile
@@ -196,7 +196,6 @@ GENFLAGS	+=	$(firmware-genflags-y)
 CFLAGS		=	-g -Wall -Werror -ffreestanding -nostdlib -fno-strict-aliasing -O2
 CFLAGS		+=	-fno-omit-frame-pointer -fno-optimize-sibling-calls
 CFLAGS		+=	-mno-save-restore -mstrict-align
-CFLAGS		+=	-mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA)
 CFLAGS		+=	-mcmodel=$(PLATFORM_RISCV_CODE_MODEL)
 CFLAGS		+=	$(GENFLAGS)
 CFLAGS		+=	$(platform-cflags-y)
@@ -210,7 +209,6 @@ CPPFLAGS	+=	$(firmware-cppflags-y)
 ASFLAGS		=	-g -Wall -nostdlib -D__ASSEMBLY__
 ASFLAGS		+=	-fno-omit-frame-pointer -fno-optimize-sibling-calls
 ASFLAGS		+=	-mno-save-restore -mstrict-align
-ASFLAGS		+=	-mabi=$(PLATFORM_RISCV_ABI) -march=$(PLATFORM_RISCV_ISA)
 ASFLAGS		+=	-mcmodel=$(PLATFORM_RISCV_CODE_MODEL)
 ASFLAGS		+=	$(GENFLAGS)
 ASFLAGS		+=	$(platform-asflags-y)
-- 
2.28.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-10-21  0:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-19 22:41 [PATCH] Makefile: Don't specify mabi or march Alistair Francis
2020-10-19 22:56 ` Jessica Clarke
2020-10-19 23:02   ` Alistair Francis
2020-10-19 23:05     ` Jessica Clarke
2020-10-19 23:32       ` Alistair Francis
2020-10-19 23:38         ` Jessica Clarke
2020-10-21  0:55           ` Alistair Francis
2020-10-20  7:27         ` Andreas Schwab
2020-10-20  3:52 ` Anup Patel
2020-10-20  4:33   ` Anup Patel
2020-10-20  7:30 ` Andreas Schwab
2020-10-21  0:53   ` Alistair Francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox