Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/evbarm/instkernel/sshramdisk Set IMAGEENDIAN properl...
details: https://anonhg.NetBSD.org/src/rev/975cd496cfe4
branches: trunk
changeset: 339345:975cd496cfe4
user: martin <martin%NetBSD.org@localhost>
date: Wed Jul 15 11:24:03 2015 +0000
description:
Set IMAGEENDIAN properly for big endian builds.
>From Rin Okuyama.
diffstat:
distrib/evbarm/instkernel/sshramdisk/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 5a5c88064e20 -r 975cd496cfe4 distrib/evbarm/instkernel/sshramdisk/Makefile
--- a/distrib/evbarm/instkernel/sshramdisk/Makefile Wed Jul 15 11:21:49 2015 +0000
+++ b/distrib/evbarm/instkernel/sshramdisk/Makefile Wed Jul 15 11:24:03 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2015/02/23 23:21:47 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2015/07/15 11:24:03 martin Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -13,7 +13,11 @@
CRUNCHBIN= ramdiskbin
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${.CURDIR}/mtree.conf
+.if empty(MACHINE_ARCH:M*eb)
IMAGEENDIAN= le
+.else
+IMAGEENDIAN= be
+.endif
MAKEDEVTARGETS= ramdisk
IMAGEDEPENDS= ${CRUNCHBIN} \
dot.profile master.passwd sshd_config ssh_host_dsa_key \
Home |
Main Index |
Thread Index |
Old Index