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