Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/stand/efiboot Enable us to load kernel image of differen...



details:   https://anonhg.NetBSD.org/src/rev/5ab57513a0f3
branches:  trunk
changeset: 1000314:5ab57513a0f3
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Jul 21 17:01:39 2019 +0000

description:
Enable us to load kernel image of different byte order. Now, earmv7hf-eb
kernel can successfully boot from EFI bootloader.

XXX
We need to recognize disklabel and filesystem written in opposite byte oder.

diffstat:

 sys/stand/efiboot/Makefile.efiboot |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4c01b6c2049c -r 5ab57513a0f3 sys/stand/efiboot/Makefile.efiboot
--- a/sys/stand/efiboot/Makefile.efiboot        Sun Jul 21 16:53:17 2019 +0000
+++ b/sys/stand/efiboot/Makefile.efiboot        Sun Jul 21 17:01:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.7 2019/04/21 22:30:41 thorpej Exp $
+# $NetBSD: Makefile.efiboot,v 1.8 2019/07/21 17:01:39 rin Exp $
 
 S=             ${.CURDIR}/../../..
 
@@ -97,6 +97,7 @@
 SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
 SAMISCMAKEFLAGS+="SA_INCLUDE_NET=yes"
 SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
+SAMISCMAKEFLAGS+="SA_ENABLE_BIENDIAN=yes"
 .include "${S}/lib/libsa/Makefile.inc"
 LIBSA= ${SALIB}
 



Home | Main Index | Thread Index | Old Index