1 1.12 jmcneill # $NetBSD: Makefile,v 1.12 2020/05/28 15:13:21 jmcneill Exp $ 2 1.1 tsutsui 3 1.1 tsutsui .include <bsd.own.mk> 4 1.1 tsutsui 5 1.2 riz INSTIMGBASE= NetBSD-${DISTRIBVER}-amd64-install # gives ${IMGBASE}.img 6 1.1 tsutsui 7 1.11 maya INSTIMAGEMB?= 1550 # 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.11 maya EFIBOOT= ${WORKDIR}/usr/mdec/bootx64.efi 13 1.11 maya EFIBOOT+= ${WORKDIR}/usr/mdec/bootia32.efi 14 1.11 maya #EFIBOOT= ${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootx64/bootx64.efi 15 1.11 maya #EFIBOOT+= ${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootia32/bootia32.efi 16 1.1 tsutsui 17 1.1 tsutsui USE_MBR= yes 18 1.11 maya USE_GPT= yes 19 1.12 jmcneill USE_GPTMBR= yes 20 1.1 tsutsui 21 1.1 tsutsui CLEANFILES+= boot.cfg 22 1.1 tsutsui 23 1.1 tsutsui prepare_md_post: 24 1.1 tsutsui ${TOOL_SED} \ 25 1.1 tsutsui -e "s/@@MACHINE@@/${MACHINE}/" \ 26 1.1 tsutsui -e "s/@@VERSION@@/${DISTRIBVER}/" \ 27 1.1 tsutsui < ${.CURDIR}/boot.cfg.in > boot.cfg 28 1.1 tsutsui 29 1.1 tsutsui DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd 30 1.4 dholland SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR} 31 1.1 tsutsui 32 1.1 tsutsui SPEC_EXTRA= ${.CURDIR}/spec.inst 33 1.1 tsutsui IMGFILE_EXTRA= \ 34 1.1 tsutsui ${.CURDIR}/etc.ttys etc/ttys \ 35 1.1 tsutsui ${.CURDIR}/etc.rc etc/rc \ 36 1.1 tsutsui ${.CURDIR}/install.sh . \ 37 1.1 tsutsui ${.OBJDIR}/boot.cfg . \ 38 1.1 tsutsui ${SYSINSTDIR}/sysinstmsgs.de . \ 39 1.1 tsutsui ${SYSINSTDIR}/sysinstmsgs.es . \ 40 1.1 tsutsui ${SYSINSTDIR}/sysinstmsgs.fr . \ 41 1.1 tsutsui ${SYSINSTDIR}/sysinstmsgs.pl . \ 42 1.1 tsutsui ${SYSINSTDIR}/sysinst . 43 1.1 tsutsui 44 1.11 maya .include "${NETBSDSRCDIR}/distrib/common/bootimage//Makefile.installimage" 45