Mon Mar 1 09:24:27 2021 UTC ()
Drop wide char support to save space


(martin)
diff -r1.38 -r1.39 src/distrib/sun2/miniroot/Makefile

cvs diff -r1.38 -r1.39 src/distrib/sun2/miniroot/Makefile (expand / switch to unified diff)

--- src/distrib/sun2/miniroot/Makefile 2019/12/29 18:26:18 1.38
+++ src/distrib/sun2/miniroot/Makefile 2021/03/01 09:24:27 1.39
@@ -1,28 +1,29 @@ @@ -1,28 +1,29 @@
1# $NetBSD: Makefile,v 1.38 2019/12/29 18:26:18 christos Exp $ 1# $NetBSD: Makefile,v 1.39 2021/03/01 09:24:27 martin Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5 5
6.include <bsd.kernobj.mk> 6.include <bsd.kernobj.mk>
7 7
8IMAGE= miniroot.fs 8IMAGE= miniroot.fs
9IMAGESIZE= 4200k 9IMAGESIZE= 4200k
10MAKEFS_FLAGS+= -o density=8k 10MAKEFS_FLAGS+= -o density=8k
11 11
12KERNEL= ${KERNOBJDIR}/INSTALL/netbsd 12KERNEL= ${KERNOBJDIR}/INSTALL/netbsd
13 13
14WARNS= 1 14WARNS= 1
15DBG= -Os -fno-unwind-tables 15DBG= -Os -fno-unwind-tables
 16USE_WIDECHAR= no
16 17
17CRUNCHBIN= instbin 18CRUNCHBIN= instbin
18 19
19LISTS= ${.CURDIR}/list 20LISTS= ${.CURDIR}/list
20MTREECONF= ${.CURDIR}/mtree.conf 21MTREECONF= ${.CURDIR}/mtree.conf
21IMAGEENDIAN= be 22IMAGEENDIAN= be
22PARSELISTENV= KERNEL=${KERNEL} 23PARSELISTENV= KERNEL=${KERNEL}
23MAKEDEVTARGETS= std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0 24MAKEDEVTARGETS= std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0
24IMAGEDEPENDS= ${CRUNCHBIN} \ 25IMAGEDEPENDS= ${CRUNCHBIN} \
25 ${KERNEL} \ 26 ${KERNEL} \
26 fstab install.md profile \ 27 fstab install.md profile \
27 ${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \ 28 ${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \
28 ${DESTDIR}/etc/group \ 29 ${DESTDIR}/etc/group \
@@ -35,26 +36,33 @@ IMAGEDEPENDS= ${CRUNCHBIN} \ @@ -35,26 +36,33 @@ IMAGEDEPENDS= ${CRUNCHBIN} \
35 ${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/bootyy \ 36 ${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/bootyy \
36 ${DESTDIR}/usr/mdec/netboot ${DESTDIR}/usr/mdec/tapeboot \ 37 ${DESTDIR}/usr/mdec/netboot ${DESTDIR}/usr/mdec/tapeboot \
37 ${DESTDIR}/usr/mdec/ufsboot \ 38 ${DESTDIR}/usr/mdec/ufsboot \
38 ${DISTRIBDIR}/miniroot/install.sh \ 39 ${DISTRIBDIR}/miniroot/install.sh \
39 ${DISTRIBDIR}/miniroot/upgrade.sh \ 40 ${DISTRIBDIR}/miniroot/upgrade.sh \
40 install.sub 41 install.sub
41 42
42IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \ 43IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
43 ${DESTDIR}/usr/mdec/bootxx /ufsboot 44 ${DESTDIR}/usr/mdec/bootxx /ufsboot
44IMAGE_RELEASEDIR= installation/miniroot 45IMAGE_RELEASEDIR= installation/miniroot
45 46
46# Use stubs to eliminate some large stuff from libc 47# Use stubs to eliminate some large stuff from libc
47HACKSRC= ${DISTRIBDIR}/utils/libhack 48HACKSRC= ${DISTRIBDIR}/utils/libhack
 49HACK_CURSES= yes
 50.MAKEFLAGS+= USE_WIDECHAR=no
 51.include "${HACKSRC}/Makefile.inc"
 52${CRUNCHBIN}: libhack.o
 53
 54# Use stubs to eliminate some large stuff from libc
 55HACKSRC= ${DISTRIBDIR}/utils/libhack
48.include "${HACKSRC}/Makefile.inc" 56.include "${HACKSRC}/Makefile.inc"
49${CRUNCHBIN}: libhack.o 57${CRUNCHBIN}: libhack.o
50 58
51install.sub: ${DISTRIBDIR}/miniroot/install.sub 59install.sub: ${DISTRIBDIR}/miniroot/install.sub
52 ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@ 60 ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
53 61
54CLEANFILES+= install.sub 62CLEANFILES+= install.sub
55 63
56fstab: .PHONY 64fstab: .PHONY
57 65
58.include "${DISTRIBDIR}/common/Makefile.crunch" 66.include "${DISTRIBDIR}/common/Makefile.crunch"
59.include "${DISTRIBDIR}/common/Makefile.makedev" 67.include "${DISTRIBDIR}/common/Makefile.makedev"
60.include "${DISTRIBDIR}/common/Makefile.image" 68.include "${DISTRIBDIR}/common/Makefile.image"