From 0a474c24d131a617aef1d8a85f0b52194f6de8c3 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 1 Nov 2021 19:37:32 +0000 Subject: [PATCH] Use libhack and the non-widechar hacked version of curses for the ramdisk image to save some space. --- distrib/hpcmips/miniroot/Makefile.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/distrib/hpcmips/miniroot/Makefile.inc b/distrib/hpcmips/miniroot/Makefile.inc index 1e408c7be098..ef37c9465e91 100644 --- a/distrib/hpcmips/miniroot/Makefile.inc +++ b/distrib/hpcmips/miniroot/Makefile.inc @@ -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"