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"