Source-Changes-HG archive

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

[src/trunk]: src/distrib/acorn26/instkernel - enable libhack, and thus deprec...



details:   https://anonhg.NetBSD.org/src/rev/7f4af25b4cc1
branches:  trunk
changeset: 526296:7f4af25b4cc1
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Apr 30 15:37:33 2002 +0000

description:
- enable libhack, and thus deprecate pwd_mkdb (et al)
- add DBG=-Os
- other consistency cleanups

diffstat:

 distrib/acorn26/instkernel/Makefile |  11 ++++++++---
 distrib/acorn26/instkernel/list     |   9 ++-------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (68 lines):

diff -r 1e6585bc1ea6 -r 7f4af25b4cc1 distrib/acorn26/instkernel/Makefile
--- a/distrib/acorn26/instkernel/Makefile       Tue Apr 30 15:28:32 2002 +0000
+++ b/distrib/acorn26/instkernel/Makefile       Tue Apr 30 15:37:33 2002 +0000
@@ -1,26 +1,31 @@
-#      $NetBSD: Makefile,v 1.3 2002/04/26 15:50:22 lukem Exp $
+#      $NetBSD: Makefile,v 1.4 2002/04/30 15:37:33 lukem Exp $
 
-.include "${.CURDIR}/../../Makefile.inc"
 .include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
 
 IMAGE=         ramdisk.fs
 IMAGESIZE=     1924k
 MAKEFS_FLAGS=  -f 15
 
 WARNS=         1
+DBG=           -Os
 
 CRUNCHBIN=     ramdiskbin
 LISTS=         ${.CURDIR}/list #${DISTRIBDIR}/common/list.sysinst
 MTREECONF=     ${DISTRIBDIR}/common/mtree.common
 IMAGEENDIAN=   le
 MAKEDEVTARGETS=        ramdisk
-PARSELISTENV=  PWD_MKDB=${PWD_MKDB:Q}
 IMAGEDEPENDS=  ${CRUNCHBIN} \
                disktab.preinstall dot.hdprofile dot.profile termcap.vt100 \
                ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
                ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
                ${NETBSDSRCDIR}/etc/services
 
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=       ${DISTRIBDIR}/utils/libhack
+.include       "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:  libhack.o
+
 MDSETTARGETS=  INSTALL         ramdisk.fs      -
 MDSETDIR=      installation/misc
 
diff -r 1e6585bc1ea6 -r 7f4af25b4cc1 distrib/acorn26/instkernel/list
--- a/distrib/acorn26/instkernel/list   Tue Apr 30 15:28:32 2002 +0000
+++ b/distrib/acorn26/instkernel/list   Tue Apr 30 15:37:33 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.2 2002/04/26 15:50:22 lukem Exp $
+#      $NetBSD: list,v 1.3 2002/04/30 15:37:33 lukem Exp $
 
 SRCDIRS        bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
 
@@ -53,7 +53,7 @@
 
 SPECIAL        ping    srcdir distrib/utils/x_ping
 
-LIBS   -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
+LIBS   libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
 
 # init invokes the shell as -sh
 ARGVLN sh -sh
@@ -68,11 +68,6 @@
 COPY   ${NETBSDSRCDIR}/etc/protocols           etc/protocols
 COPY   ${NETBSDSRCDIR}/etc/services            etc/services
 
-CMD    ${PWD_MKDB} -L -d ./ etc/master.passwd
-
-MTREE  ./etc/pwd.db    type=file uname=root gname=wheel mode=0644
-MTREE  ./etc/spwd.db   type=file uname=root gname=wheel mode=0600
-
 # and the common installation tools
 COPY   ${CURDIR}/termcap.vt100                 usr/share/misc/termcap
 



Home | Main Index | Thread Index | Old Index