Home | History | Annotate | Line # | Download | only in installimage
Makefile revision 1.7
      1 #	$NetBSD: Makefile,v 1.7 2015/03/09 18:12:47 christos Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 INSTIMGBASE=	NetBSD-${DISTRIBVER}-i386-install	# gives ${IMGBASE}.img
      6 
      7 BOOTDISK=	sd0			# for USB flash etc.
      8 INSTIMAGEMB?=	550			# for all installation binaries
      9 
     10 PRIMARY_BOOT=		bootxx_ffsv1
     11 SECONDARY_BOOT=		boot
     12 SECONDARY_BOOT_ARG=	# unnecessary
     13 
     14 USE_MBR=		yes
     15 
     16 CLEANFILES+=	boot.cfg
     17 
     18 prepare_md_post:
     19 	${TOOL_SED}							\
     20 	    -e "s/@@MACHINE@@/${MACHINE}/"				\
     21 	    -e "s/@@VERSION@@/${DISTRIBVER}/"				\
     22 	    < ${.CURDIR}/boot.cfg.in > boot.cfg
     23 
     24 DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
     25 SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
     26 
     27 SPEC_EXTRA=		${.CURDIR}/spec.inst
     28 IMGFILE_EXTRA=								\
     29 	${.CURDIR}/etc.ttys		etc/ttys			\
     30 	${.CURDIR}/etc.rc		etc/rc				\
     31 	${.CURDIR}/install.sh		.				\
     32 	${.OBJDIR}/boot.cfg		.				\
     33 	${SYSINSTDIR}/sysinstmsgs.de	.				\
     34 	${SYSINSTDIR}/sysinstmsgs.es	.				\
     35 	${SYSINSTDIR}/sysinstmsgs.fr	.				\
     36 	${SYSINSTDIR}/sysinstmsgs.pl	.				\
     37 	${SYSINSTDIR}/sysinst		.
     38 
     39 .include "${DISTRIBDIR}/common/bootimage/Makefile.installimage"
     40