Home | History | Annotate | Line # | Download | only in miniroot
Makefile revision 1.45.4.1
      1  1.45.4.1    bouyer #	$NetBSD: Makefile,v 1.45.4.1 2017/04/21 16:51:15 bouyer 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.45.4.1    bouyer 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.37   tsutsui CRUNCHGEN_FLAGS= -d "${DBG}"
     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.33   tsutsui .include	"${HACKSRC}/Makefile.inc"
     50      1.33   tsutsui ${CRUNCHBIN}:	libhack.o
     51      1.33   tsutsui 
     52      1.28     lukem install.sub: ${DISTRIBDIR}/miniroot/install.sub
     53      1.38       apb 	${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
     54       1.1       gwr 
     55      1.28     lukem CLEANFILES+= install.sub
     56       1.1       gwr 
     57      1.45  christos fstab: .PHONY
     58      1.45  christos 
     59      1.33   tsutsui .include "${DISTRIBDIR}/common/Makefile.crunch"
     60      1.28     lukem .include "${DISTRIBDIR}/common/Makefile.makedev"
     61      1.28     lukem .include "${DISTRIBDIR}/common/Makefile.image"
     62      1.27     lukem 
     63      1.27     lukem .include <bsd.prog.mk>
     64