Source-Changes-HG archive

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

[src/trunk]: src/distrib/hpcmips/miniroot Use libhack and the non-widechar ha...



details:   https://anonhg.NetBSD.org/src/rev/882dff03e83d
branches:  trunk
changeset: 1024741:882dff03e83d
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Nov 01 19:37:32 2021 +0000

description:
Use libhack and the non-widechar hacked version of curses for
the ramdisk image to save some space.

diffstat:

 distrib/hpcmips/miniroot/Makefile.inc |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 02399eff91c9 -r 882dff03e83d distrib/hpcmips/miniroot/Makefile.inc
--- a/distrib/hpcmips/miniroot/Makefile.inc     Mon Nov 01 19:10:07 2021 +0000
+++ b/distrib/hpcmips/miniroot/Makefile.inc     Mon Nov 01 19:37:32 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.21 2017/01/24 18:04:02 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.22 2021/11/01 19:37:32 martin Exp $
 
 DBG=           -Os
 
@@ -12,4 +12,11 @@
                ${DESTDIR}/.profile
 SMALLPROG_INET6=1
 
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=       ${DISTRIBDIR}/utils/libhack
+HACK_CURSES=yes
+.MAKEFLAGS+=   USE_WIDECHAR=no
+.include       "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:  libhack.o
+
 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"



Home | Main Index | Thread Index | Old Index