Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Don't append ptys to the ttys file. It is not needed any...



details:   https://anonhg.NetBSD.org/src/rev/6e6f9a7f6bcd
branches:  trunk
changeset: 571272:6e6f9a7f6bcd
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 15 00:28:16 2004 +0000

description:
Don't append ptys to the ttys file. It is not needed anymore as ttyslot
will DTRT.

diffstat:

 etc/Makefile |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r ce83f3842d65 -r 6e6f9a7f6bcd etc/Makefile
--- a/etc/Makefile      Mon Nov 15 00:23:13 2004 +0000
+++ b/etc/Makefile      Mon Nov 15 00:28:16 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.294 2004/11/14 20:28:28 yamt Exp $
+#      $NetBSD: Makefile,v 1.295 2004/11/15 00:28:16 christos Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -147,18 +147,13 @@
 .endif # !DISTRIBUTION_DONE
 
 
-CLEANFILES+=   MAKEDEV ttys
+CLEANFILES+=   MAKEDEV
 MAKEDEV: .EXEC
        ${_MKTARGET_CREATE}
        MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \
            NETBSDSRCDIR=${NETBSDSRCDIR:Q} \
            awk -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET}
 
-ttys: mkttys etc.${MACHINE}/ttys
-       ${_MKTARGET_CREATE}
-       ${HOST_SH} ${.ALLSRC} > ${.TARGET}
-
-
 RELEASEVARS=   BSDOBJDIR BSDSRCDIR BUILDID \
                DESTDIR EXTERNAL_TOOLCHAIN \
                INSTALLWORLDDIR \
@@ -271,7 +266,7 @@
 .endif # MKUNPRIVED != no
        ${_MKMSG_INSTALL} ${DESTDIR}/etc/ttys
        ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
-           ttys ${DESTDIR}/etc
+           etc.${MACHINE}/ttys ${DESTDIR}/etc
        ${_MKMSG_INSTALL} ${DESTDIR}/dev/MAKEDEV
        ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
            MAKEDEV ${DESTDIR}/dev



Home | Main Index | Thread Index | Old Index