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