Home | History | Annotate | Line # | Download | only in installimage
installimage.mk revision 1.1
      1 #	$NetBSD: installimage.mk,v 1.1 2022/05/08 08:12:45 mrg Exp $
      2 
      3 # common code between distrib/amd64/installimage/Makefile and
      4 # distrib/amd64/installimage-bios/Makefile.
      5 
      6 .if ${USE_XZ_SETS:Uno} != "no"
      7 INSTIMAGEMB?=	2250			# for all installation binaries
      8 .else
      9 INSTIMAGEMB?=	3500			# for all installation binaries
     10 .endif
     11 
     12 PRIMARY_BOOT=		bootxx_ffsv1
     13 SECONDARY_BOOT=		boot
     14 SECONDARY_BOOT_ARG=	# unnecessary
     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 
     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 
     33 .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.installimage"
     34