Source-Changes-HG archive

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

[src/trunk]: src/distrib enable (default) libhack for all miniroots.



details:   https://anonhg.NetBSD.org/src/rev/3943ecfa66c2
branches:  trunk
changeset: 526668:3943ecfa66c2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue May 07 14:59:34 2002 +0000

description:
enable (default) libhack for all miniroots.
for atari, also add gethost.o (as before)

diffstat:

 distrib/atari/miniroot/Makefile.inc |  8 +++-----
 distrib/atari/miniroot/list         |  5 +----
 distrib/miniroot/Makefile           |  7 ++++++-
 distrib/miniroot/list               |  3 ++-
 4 files changed, 12 insertions(+), 11 deletions(-)

diffs (70 lines):

diff -r 42d387266bfb -r 3943ecfa66c2 distrib/atari/miniroot/Makefile.inc
--- a/distrib/atari/miniroot/Makefile.inc       Tue May 07 14:50:39 2002 +0000
+++ b/distrib/atari/miniroot/Makefile.inc       Tue May 07 14:59:34 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.8 2002/03/28 04:33:21 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.9 2002/05/07 14:59:35 lukem Exp $
 
 IMAGESIZE=     1080k
 IMAGEENDIAN=   be
@@ -6,8 +6,6 @@
 IMAGEDEPENDS+= ${ARCHDIR}/disktab.shadow ${ARCHDIR}/dot.profile \
                ${ARCHDIR}/install.md ${ARCHDIR}/termcap.vt
 
-# Use stubs to eliminate some large stuff from libc
-HACKSRC=       ${DISTRIBDIR}/utils/libhack
+# add cut-down gethostby*() from libhack
+#
 HACKOBJS=      gethost.o
-.include       "${HACKSRC}/Makefile.inc"
-${CRUNCHBIN}:  libhack.o
diff -r 42d387266bfb -r 3943ecfa66c2 distrib/atari/miniroot/list
--- a/distrib/atari/miniroot/list       Tue May 07 14:50:39 2002 +0000
+++ b/distrib/atari/miniroot/list       Tue May 07 14:59:34 2002 +0000
@@ -1,7 +1,4 @@
-#      $NetBSD: list,v 1.13 2002/04/10 01:57:28 lukem Exp $
-
-# Usage of libhack.o reduces the instbin-size with approx. 64KB!
-LIBS   libhack.o
+#      $NetBSD: list,v 1.14 2002/05/07 14:59:35 lukem Exp $
 
 # Atari extra's
 PROG   sbin/ahdilabel
diff -r 42d387266bfb -r 3943ecfa66c2 distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Tue May 07 14:50:39 2002 +0000
+++ b/distrib/miniroot/Makefile Tue May 07 14:59:34 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.61 2002/05/07 03:34:16 lukem Exp $
+#      $NetBSD: Makefile,v 1.62 2002/05/07 14:59:34 lukem Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -26,6 +26,11 @@
 
 .include "${ARCHDIR}/Makefile.inc"
 
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=       ${DISTRIBDIR}/utils/libhack
+.include       "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:  libhack.o
+
 .include "${DISTRIBDIR}/common/Makefile.crunch"
 .if defined(MAKEDEVTARGETS)
 .include "${DISTRIBDIR}/common/Makefile.makedev"
diff -r 42d387266bfb -r 3943ecfa66c2 distrib/miniroot/list
--- a/distrib/miniroot/list     Tue May 07 14:50:39 2002 +0000
+++ b/distrib/miniroot/list     Tue May 07 14:59:34 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.19 2002/04/26 15:50:37 lukem Exp $
+#      $NetBSD: list,v 1.20 2002/05/07 14:59:35 lukem Exp $
 
 SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin
 
@@ -57,6 +57,7 @@
 SPECIAL        ping            srcdir  distrib/utils/x_ping
 SPECIAL        route           srcdir  distrib/utils/x_route
 
+LIBS   libhack.o
 LIBS   -lrmt -ledit -lutil -lcurses -ltermcap -lbz2 -lcrypt -lintl -ll -lm -lkvm
 
 # various files that we need in /etc for the install



Home | Main Index | Thread Index | Old Index