Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Use HOST_SH to run scripts. Makes mkimage work on SunOS.
details: https://anonhg.NetBSD.org/src/rev/39bd17228831
branches: trunk
changeset: 785088:39bd17228831
user: hans <hans%NetBSD.org@localhost>
date: Thu Feb 21 15:13:10 2013 +0000
description:
Use HOST_SH to run scripts. Makes mkimage work on SunOS.
diffstat:
distrib/utils/embedded/conf/evbarm.conf | 4 ++--
etc/etc.evbarm/Makefile.inc | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 43a309cc5d36 -r 39bd17228831 distrib/utils/embedded/conf/evbarm.conf
--- a/distrib/utils/embedded/conf/evbarm.conf Thu Feb 21 14:13:01 2013 +0000
+++ b/distrib/utils/embedded/conf/evbarm.conf Thu Feb 21 15:13:10 2013 +0000
@@ -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 @@
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
diff -r 43a309cc5d36 -r 39bd17228831 etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc Thu Feb 21 14:13:01 2013 +0000
+++ b/etc/etc.evbarm/Makefile.inc Thu Feb 21 15:13:10 2013 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index