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