Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot/bootaa64 Be explicit about building for li...
details: https://anonhg.NetBSD.org/src/rev/307700e61f68
branches: trunk
changeset: 975915:307700e61f68
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Sep 08 16:34:43 2020 +0000
description:
Be explicit about building for little endian. This allows efiboot to be
built with the aarch64eb toolchain.
diffstat:
sys/stand/efiboot/bootaa64/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 0a83a249b32d -r 307700e61f68 sys/stand/efiboot/bootaa64/Makefile
--- a/sys/stand/efiboot/bootaa64/Makefile Tue Sep 08 16:10:53 2020 +0000
+++ b/sys/stand/efiboot/bootaa64/Makefile Tue Sep 08 16:34:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/06/21 17:24:26 jmcneill Exp $
+# $NetBSD: Makefile,v 1.9 2020/09/08 16:34:43 jmcneill Exp $
PROG= bootaa64.efi
OBJFMT= binary
@@ -7,12 +7,14 @@
EXTRA_SOURCES= efibootaa64.c
EXTRA_SOURCES+= cache.S
-COPTS+= -mgeneral-regs-only -fno-jump-tables
+COPTS+= -mgeneral-regs-only -mlittle-endian -fno-jump-tables
+AFLAGS+= -mlittle-endian
CFLAGS+= -DEFIBOOT_ALIGN=0x200000
CFLAGS+= -DEFIBOOT_RUNTIME_ADDRESS=0xffff800000000000L
CFLAGS+= -DEFIBOOT_RUNTIME_SIZE=0x40000000UL
CFLAGS+= -DEFIBOOT_ACPI
CFLAGS+= -DEFIBOOT_MODULE_MACHINE=\"evbarm\"
+LDFLAGS+= -EL
.include "${.CURDIR}/../Makefile.efiboot"
Home |
Main Index |
Thread Index |
Old Index