Module Name:    src
Committed By:   hans
Date:           Thu Feb 21 15:13:11 UTC 2013

Modified Files:
        src/distrib/utils/embedded/conf: evbarm.conf
        src/etc/etc.evbarm: Makefile.inc

Log Message:
Use HOST_SH to run scripts. Makes mkimage work on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/utils/embedded/conf/evbarm.conf
cvs rdiff -u -r1.46 -r1.47 src/etc/etc.evbarm/Makefile.inc

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

Modified files:

Index: src/distrib/utils/embedded/conf/evbarm.conf
diff -u src/distrib/utils/embedded/conf/evbarm.conf:1.8 src/distrib/utils/embedded/conf/evbarm.conf:1.9
--- src/distrib/utils/embedded/conf/evbarm.conf:1.8	Tue Feb 12 12:04:39 2013
+++ src/distrib/utils/embedded/conf/evbarm.conf	Thu Feb 21 15:13:10 2013
@@ -1,4 +1,4 @@
-# $NetBSD: evbarm.conf,v 1.8 2013/02/12 12:04:39 jmcneill Exp $
+# $NetBSD: evbarm.conf,v 1.9 2013/02/21 15:13:10 hans Exp $
 # evbarm shared config
 #
 image=$HOME/${board}.img
@@ -84,7 +84,7 @@ EOF
 		exit 1
 	fi
 	echo "${bar} running MAKEDEV ${bar}"
-	(cd ${mnt}/dev && sh ${release}/dev/MAKEDEV all)
+	(cd ${mnt}/dev && ${HOST_SH} ${release}/dev/MAKEDEV all)
 
 	echo "${bar} creating directories ${bar}"
 	mkdir ${mnt}/proc ${mnt}/kern

Index: src/etc/etc.evbarm/Makefile.inc
diff -u src/etc/etc.evbarm/Makefile.inc:1.46 src/etc/etc.evbarm/Makefile.inc:1.47
--- src/etc/etc.evbarm/Makefile.inc:1.46	Wed Feb 20 09:03:41 2013
+++ src/etc/etc.evbarm/Makefile.inc	Thu Feb 21 15:13:11 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.46 2013/02/20 09:03:41 skrll Exp $
+#	$NetBSD: Makefile.inc,v 1.47 2013/02/21 15:13:11 hans Exp $
 #
 #	etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -28,7 +28,8 @@ __mkimage: .USE
 	TOOL_MKNOD=${TOOL_MKNOD} \
 	TOOL_PAX=${TOOL_PAX} \
 	TOOL_MTREE=${TOOL_MTREE} \
-	${MKIMAGE} -x -h ${.TARGET:S/smp_//} -D ${DESTDIR} \
+	HOST_SH=${HOST_SH} \
+	${HOST_SH} ${MKIMAGE} -x -h ${.TARGET:S/smp_//} -D ${DESTDIR} \
 	    -K ${.ALLSRC} -S ${NETBSDSRCDIR} \
 	    ${IMAGE.dir}/${.TARGET:S/smp_//}.img.gz
 

Reply via email to