Add some more .MAKE so that we don't run multiple parallel makes.
This commit is contained in:
parent
5cd3d133bf
commit
4975ba94fa
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV.tmpl,v 1.49 2006/02/06 13:12:41 hamajima Exp $
|
||||
# $NetBSD: MAKEDEV.tmpl,v 1.50 2006/02/15 21:59:08 dsl Exp $
|
||||
#
|
||||
# Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -736,7 +736,9 @@ ttyCY*)
|
|||
eminor=$(($minor + $off))
|
||||
while [ $minor -lt $eminor ]
|
||||
do
|
||||
nminor=$(zeropad 3 $minor)
|
||||
# nminor=$(zeropad 3 $minor)
|
||||
nminor=000$minor
|
||||
nminor=${nminor#${nminor%???}}
|
||||
mkdev t$name$nminor c $chr $(($minor + $dialin )) "" "" $u_uucp
|
||||
mkdev d$name$nminor c $chr $(($minor + $dialout)) "" "" $u_uucp
|
||||
minor=$(($minor + 1))
|
||||
|
@ -750,7 +752,9 @@ ttyCZ*)
|
|||
eminor=$(($minor + $off))
|
||||
while [ $minor -lt $eminor ]
|
||||
do
|
||||
nminor=$(zeropad 4 $minor)
|
||||
# nminor=$(zeropad 4 $minor)
|
||||
nminor=0000$minor
|
||||
nminor=${nminor#${nminor%????}}
|
||||
mkdev t$name$nminor c $chr $(($minor + $dialin )) "" "" $u_uucp
|
||||
mkdev d$name$nminor c $chr $(($minor + $dialout)) "" "" $u_uucp
|
||||
minor=$(($minor + 1))
|
||||
|
@ -771,7 +775,9 @@ tty[0-9]|tty0[0-9])
|
|||
|
||||
tty0*|tty1*|tty[0-9])
|
||||
unit=${i#tty}
|
||||
ounit=$(zeropad 2 $unit)
|
||||
# ounit=$(zeropad 2 $unit)
|
||||
ounit=00$unit
|
||||
ounit=${ounit#${ounit%??}}
|
||||
mkdev tty$ounit c %com_chr% $(($unit + $dialin )) "" "" $u_uucp
|
||||
mkdev dty$ounit c %com_chr% $(($unit + $dialout)) "" "" $u_uucp
|
||||
;;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.322 2006/02/11 20:56:29 dsl Exp $
|
||||
# $NetBSD: Makefile,v 1.323 2006/02/15 21:59:08 dsl Exp $
|
||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||
|
||||
# Environment variables without default values:
|
||||
|
@ -141,7 +141,7 @@ PWD_MKDB_ENDIAN=
|
|||
# distribution --
|
||||
# Build a distribution
|
||||
#
|
||||
distribution: .PHONY check_DESTDIR .WAIT distrib-dirs
|
||||
distribution: .PHONY .MAKE check_DESTDIR .WAIT distrib-dirs
|
||||
.if !defined(DISTRIBUTION_DONE)
|
||||
.if !defined(INSTALL_DONE)
|
||||
${MAKEDIRTARGET} ${NETBSDSRCDIR} include _DISTRIB=
|
||||
|
@ -256,7 +256,7 @@ CONFIGSYMLINKS+= ${TZDIR}/${LOCALTIME} /etc/localtime \
|
|||
# install-etc-files --
|
||||
# Install etc (config) files; not performed by "make build"
|
||||
#
|
||||
install-etc-files: .PHONY check_DESTDIR MAKEDEV
|
||||
install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
|
||||
${_MKMSG_INSTALL} ${DESTDIR}/etc/master.passwd
|
||||
${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
|
||||
master.passwd ${DESTDIR}/etc
|
||||
|
@ -392,7 +392,7 @@ distrib-dirs: .PHONY check_DESTDIR
|
|||
# release, snapshot --
|
||||
# Build a full distribution including kernels & install media.
|
||||
#
|
||||
release snapshot: .PHONY check_DESTDIR check_RELEASEDIR .WAIT \
|
||||
release snapshot: .PHONY .MAKE check_DESTDIR check_RELEASEDIR .WAIT \
|
||||
distribution .WAIT \
|
||||
snap_pre .WAIT snap_kern .WAIT \
|
||||
snap_post .WAIT snap_md_post
|
||||
|
|
Loading…
Reference in New Issue