Source-Changes-HG archive

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

[src/trunk]: src/distrib/acorn32/ramdisk switch to libhack. minor reorder of...



details:   https://anonhg.NetBSD.org/src/rev/4a223e4f1676
branches:  trunk
changeset: 525588:4a223e4f1676
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Apr 13 13:25:30 2002 +0000

description:
switch to libhack.  minor reorder of list

diffstat:

 distrib/acorn32/ramdisk/Makefile |   9 +++++++--
 distrib/acorn32/ramdisk/list     |  13 ++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (73 lines):

diff -r a6b7584130aa -r 4a223e4f1676 distrib/acorn32/ramdisk/Makefile
--- a/distrib/acorn32/ramdisk/Makefile  Sat Apr 13 13:24:25 2002 +0000
+++ b/distrib/acorn32/ramdisk/Makefile  Sat Apr 13 13:25:30 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2002/04/10 15:26:45 lukem Exp $
+#      $NetBSD: Makefile,v 1.12 2002/04/13 13:25:30 lukem Exp $
 
 .include <bsd.own.mk>
 .include "${_SRC_TOP_}/distrib/Makefile.inc"
@@ -8,19 +8,24 @@
 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 \
                ${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
                ${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
                ${_SRC_TOP_}/etc/services
 
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=       ${DISTRIBDIR}/utils/libhack
+.include       "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:  libhack.o
+
 
 realall: ${IMAGE}
 
diff -r a6b7584130aa -r 4a223e4f1676 distrib/acorn32/ramdisk/list
--- a/distrib/acorn32/ramdisk/list      Sat Apr 13 13:24:25 2002 +0000
+++ b/distrib/acorn32/ramdisk/list      Sat Apr 13 13:25:30 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.8 2002/03/12 12:53:08 reinoud Exp $
+#      $NetBSD: list,v 1.9 2002/04/13 13:25:30 lukem Exp $
 
 SRCDIRS        bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
 
@@ -51,13 +51,13 @@
 PROG   usr/sbin/chown  usr/bin/chgrp
 PROG   usr/sbin/chroot
 
+# init invokes the shell as -sh
+ARGVLN sh -sh
+
 SPECIAL        ping    srcdir distrib/utils/x_ping
 
 LIBS   -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
 
-# init invokes the shell as -sh
-ARGVLN sh -sh
-
 # we need the boot blocks /usr/mdec
 #COPYDIR       ${DESTDIR}/usr/mdec     usr/mdec
 
@@ -68,11 +68,6 @@
 COPY   ${_SRC_TOP_}/etc/protocols      etc/protocols
 COPY   ${_SRC_TOP_}/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