Module Name:    src
Committed By:   skrll
Date:           Mon May  6 17:42:31 UTC 2013

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

Log Message:
Fix up evbearm* release builds.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/evbarm/instkernel/instkernel/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/instkernel/Makefile
diff -u src/distrib/evbarm/instkernel/instkernel/Makefile:1.19 src/distrib/evbarm/instkernel/instkernel/Makefile:1.20
--- src/distrib/evbarm/instkernel/instkernel/Makefile:1.19	Tue Mar 19 22:16:53 2013
+++ src/distrib/evbarm/instkernel/instkernel/Makefile	Mon May  6 17:42:30 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2013/03/19 22:16:53 garbled Exp $
+#	$NetBSD: Makefile,v 1.20 2013/05/06 17:42:30 skrll Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -22,12 +22,20 @@ MDSETTARGETS=		ADI_BRH_INSTALL		${RAMDIS
 			OPENRD_INSTALL		${RAMDISK}	-	\
 			TS7200_INSTALL		${RAMDISK}	- 	\
 			TEAMASA_NPWR_INSTALL	${RAMDISK}	-	\
-			RPI_INSTALL		${SSHRAMDISK}	-	\
 			KUROBOX_PRO_INSTALL	${RAMDISK}	-
 .else
 # Big endian platforms.
 MDSETTARGETS=		ADI_BRH_INSTALL		${RAMDISK}	-
 .endif
+
+.if \
+    ${MACHINE_ARCH} == "arm" || \
+    ${MACHINE_ARCH} == "earm" || \
+    ${MACHINE_ARCH} == "earmhf"
+# Little endian (any ABI) platforms.
+MDSETTARGETS+=		RPI_INSTALL		${SSHRAMDISK}	-
+.endif
+
 MDSET_RELEASEDIR=	installation/instkernel
 
 MDSET_SUFFIXES.-=	srec create-srec  bin create-bin

Reply via email to