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