Home | History | Annotate | Line # | Download | only in installimage
Makefile revision 1.4.2.3
      1  1.4.2.3       snj #	$NetBSD: Makefile,v 1.4.2.3 2015/05/14 07:11:53 snj 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.4.2.2       snj INSTIMAGEMB?=	550			# 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.4  dholland SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/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 	${.CURDIR}/etc.ttys		etc/ttys			\
     30      1.1   tsutsui 	${.CURDIR}/etc.rc		etc/rc				\
     31      1.1   tsutsui 	${.CURDIR}/install.sh		.				\
     32      1.1   tsutsui 	${.OBJDIR}/boot.cfg		.				\
     33      1.1   tsutsui 	${SYSINSTDIR}/sysinstmsgs.de	.				\
     34      1.1   tsutsui 	${SYSINSTDIR}/sysinstmsgs.es	.				\
     35      1.1   tsutsui 	${SYSINSTDIR}/sysinstmsgs.fr	.				\
     36      1.1   tsutsui 	${SYSINSTDIR}/sysinstmsgs.pl	.				\
     37      1.1   tsutsui 	${SYSINSTDIR}/sysinst		.
     38      1.1   tsutsui 
     39      1.1   tsutsui .include "${DISTRIBDIR}/common/bootimage/Makefile.installimage"
     40