Use HOST_SH to run scripts. Makes mkimage work on SunOS.
This commit is contained in:
parent
6b28c645f3
commit
93170f635e
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user