Source-Changes-HG archive

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

[src/trunk]: src/distrib/evbarm/instkernel/ramdisk Build BE ramdisks for BE M...



details:   https://anonhg.NetBSD.org/src/rev/177f03594b7d
branches:  trunk
changeset: 325863:177f03594b7d
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jan 09 22:48:16 2014 +0000

description:
Build BE ramdisks for BE MACHINE_ARCH's

diffstat:

 distrib/evbarm/instkernel/ramdisk/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e2e355549750 -r 177f03594b7d distrib/evbarm/instkernel/ramdisk/Makefile
--- a/distrib/evbarm/instkernel/ramdisk/Makefile        Thu Jan 09 22:37:44 2014 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/Makefile        Thu Jan 09 22:48:16 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2010/02/11 09:06:48 roy Exp $
+#      $NetBSD: Makefile,v 1.13 2014/01/09 22:48:16 matt 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=     ${DISTRIBDIR}/common/mtree.common
+.if empty(MACHINE_ARCH:M*eb)
 IMAGEENDIAN=   le
+.else
+IMAGEENDIAN=   be
+.endif
 MAKEDEVTARGETS=        ramdisk
 IMAGEDEPENDS=  ${CRUNCHBIN} \
                dot.profile \



Home | Main Index | Thread Index | Old Index