Module Name:    src
Committed By:   martin
Date:           Mon Nov  1 19:37:33 UTC 2021

Modified Files:
        src/distrib/hpcmips/miniroot: Makefile.inc

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


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/distrib/hpcmips/miniroot/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/hpcmips/miniroot/Makefile.inc
diff -u src/distrib/hpcmips/miniroot/Makefile.inc:1.21 src/distrib/hpcmips/miniroot/Makefile.inc:1.22
--- src/distrib/hpcmips/miniroot/Makefile.inc:1.21	Tue Jan 24 18:04:02 2017
+++ src/distrib/hpcmips/miniroot/Makefile.inc	Mon Nov  1 19:37:32 2021
@@ -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 @@ IMAGEDEPENDS+=	${ARCHDIR}/dot.profile \
 		${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"

Reply via email to