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