Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot/bootarm Be explicit about building for lit...
details: https://anonhg.NetBSD.org/src/rev/b03f28a99292
branches: trunk
changeset: 954688:b03f28a99292
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Sep 08 15:36:37 2020 +0000
description:
Be explicit about building for little endian. This allows efiboot to be
built with the armv7be toolchain.
diffstat:
sys/stand/efiboot/bootarm/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 5c71874b884a -r b03f28a99292 sys/stand/efiboot/bootarm/Makefile
--- a/sys/stand/efiboot/bootarm/Makefile Tue Sep 08 14:57:32 2020 +0000
+++ b/sys/stand/efiboot/bootarm/Makefile Tue Sep 08 15:36:37 2020 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index