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