diff --git a/sys/stand/efiboot/bootarm/Makefile b/sys/stand/efiboot/bootarm/Makefile index ee1e13024b71..ecd6a222f41a 100644 --- a/sys/stand/efiboot/bootarm/Makefile +++ b/sys/stand/efiboot/bootarm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2020/06/21 17:24:26 jmcneill Exp $ +# $NetBSD: Makefile,v 1.6 2020/09/08 15:36:37 jmcneill Exp $ PROG= bootarm.efi OBJFMT= binary @@ -9,10 +9,12 @@ LIBGNUEFI_ARCH= arm EXTRA_SOURCES= efibootarm.c EXTRA_SOURCES+= cache.S -COPTS+= -mfloat-abi=soft -mno-unaligned-access -ffreestanding -fno-unwind-tables +COPTS+= -mfloat-abi=soft -mno-unaligned-access -mlittle-endian +COPTS+= -ffreestanding -fno-unwind-tables +AFLAGS+= -mlittle-endian CFLAGS+= -DEFIBOOT_ALIGN=0x1000000 CFLAGS+= -DEFIBOOT_MODULE_MACHINE=\"evbarm\" -LDFLAGS+= -N +LDFLAGS+= -N -EL .include "${.CURDIR}/../Makefile.efiboot"