Home | History | Annotate | Line # | Download | only in miniroot
Makefile revision 1.49
      1  1.49  christos #	$NetBSD: Makefile,v 1.49 2019/12/29 18:26:19 christos Exp $
      2  1.24    bouyer 
      3  1.24    bouyer .include <bsd.own.mk>
      4  1.27     lukem .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5   1.1       gwr 
      6  1.28     lukem .include <bsd.kernobj.mk>
      7   1.1       gwr 
      8  1.28     lukem IMAGE=		miniroot.fs
      9  1.48  christos IMAGESIZE=	6500k
     10  1.46  christos MAKEFS_FLAGS+=	-o density=8k
     11  1.28     lukem 
     12  1.28     lukem KERNEL3=	${KERNOBJDIR}/INSTALL/netbsd
     13  1.28     lukem KERNEL3X=	${KERNOBJDIR}/INSTALL3X/netbsd
     14  1.28     lukem 
     15  1.28     lukem WARNS=		1
     16  1.28     lukem DBG=		-Os
     17  1.47    martin USE_WIDECHAR=	no
     18  1.28     lukem 
     19  1.33   tsutsui CRUNCHBIN=	instbin
     20  1.33   tsutsui 
     21  1.28     lukem LISTS=		${.CURDIR}/list
     22  1.28     lukem MTREECONF=	${.CURDIR}/mtree.conf
     23  1.28     lukem IMAGEENDIAN=	be
     24  1.28     lukem PARSELISTENV=	KERNEL3=${KERNEL3} KERNEL3X=${KERNEL3X}
     25  1.28     lukem MAKEDEVTARGETS=	std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0 fd0
     26  1.33   tsutsui IMAGEDEPENDS=	${CRUNCHBIN} \
     27  1.33   tsutsui 		${KERNEL3} ${KERNEL3X} \
     28  1.42        he 		fstab install.md profile \
     29  1.28     lukem 		${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \
     30  1.41       abs 		${DESTDIR}/etc/group \
     31  1.28     lukem 		${DESTDIR}/etc/master.passwd ${DESTDIR}/etc/netconfig \
     32  1.39       abs 		${DESTDIR}/etc/passwd \
     33  1.40       abs 		${DISTRIBDIR}/common/protocols \
     34  1.40       abs 		${DESTDIR}/etc/pwd.db ${DISTRIBDIR}/common/services \
     35  1.28     lukem 		${DESTDIR}/etc/spwd.db \
     36  1.29     lukem 		${DESTDIR}/usr/mdec/bootxx \
     37  1.28     lukem 		${DESTDIR}/usr/mdec/netboot ${DESTDIR}/usr/mdec/tapeboot \
     38  1.28     lukem 		${DESTDIR}/usr/mdec/ufsboot \
     39  1.28     lukem 		${DISTRIBDIR}/miniroot/install.sh \
     40  1.28     lukem 		${DISTRIBDIR}/miniroot/upgrade.sh \
     41  1.28     lukem 		install.sub
     42  1.28     lukem 
     43  1.32     lukem IMAGEPOSTBUILD=		${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
     44  1.30   nathanw 		    	    ${DESTDIR}/usr/mdec/bootxx /ufsboot
     45  1.28     lukem IMAGE_RELEASEDIR=	installation/miniroot
     46   1.1       gwr 
     47  1.33   tsutsui # Use stubs to eliminate some large stuff from libc
     48  1.33   tsutsui HACKSRC=	${DISTRIBDIR}/utils/libhack
     49  1.47    martin HACK_CURSES=yes
     50  1.47    martin .MAKEFLAGS+=	USE_WIDECHAR=no
     51  1.33   tsutsui .include	"${HACKSRC}/Makefile.inc"
     52  1.33   tsutsui ${CRUNCHBIN}:	libhack.o
     53  1.33   tsutsui 
     54  1.28     lukem install.sub: ${DISTRIBDIR}/miniroot/install.sub
     55  1.38       apb 	${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
     56   1.1       gwr 
     57  1.28     lukem CLEANFILES+= install.sub
     58   1.1       gwr 
     59  1.45  christos fstab: .PHONY
     60  1.45  christos 
     61  1.33   tsutsui .include "${DISTRIBDIR}/common/Makefile.crunch"
     62  1.28     lukem .include "${DISTRIBDIR}/common/Makefile.makedev"
     63  1.28     lukem .include "${DISTRIBDIR}/common/Makefile.image"
     64  1.27     lukem 
     65  1.27     lukem .include <bsd.prog.mk>
     66