Hi Ahmad, On Sun, 2021-03-14 at 13:28 +0100, Ahmad Fatoum wrote: > From: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx> > […] > ifeq ($(CONFIG_ARCH_RV32I),y) > - riscv-cflags-y := -march=rv32im -mabi=ilp32 > - riscv-ldflags-y := -melf32lriscv > + riscv-cflags-y += -march=rv32im -mabi=ilp32 > + riscv-ldflags-y += -melf32lriscv > +else > + riscv-cflags-y += -march=rv64imafd -mabi=lp64 This should also work with -march=rv64im, we are not using atomics or floating ops anywhere and should not require this until needed. > + riscv-ldflags-y += -melf64lriscv > endif > Regards, Rouven _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox