Module Name:    src
Committed By:   matt
Date:           Thu Jan  9 22:48:17 UTC 2014

Modified Files:
        src/distrib/evbarm/instkernel/ramdisk: Makefile

Log Message:
Build BE ramdisks for BE MACHINE_ARCH's


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/distrib/evbarm/instkernel/ramdisk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/evbarm/instkernel/ramdisk/Makefile
diff -u src/distrib/evbarm/instkernel/ramdisk/Makefile:1.12 src/distrib/evbarm/instkernel/ramdisk/Makefile:1.13
--- src/distrib/evbarm/instkernel/ramdisk/Makefile:1.12	Thu Feb 11 09:06:48 2010
+++ src/distrib/evbarm/instkernel/ramdisk/Makefile	Thu Jan  9 22:48:16 2014
@@ -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 @@ DBG=		-Os
 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 \

Reply via email to