Makefile revision 1.4 1 1.4 jmcneill # $NetBSD: Makefile,v 1.4 2020/06/02 01:34:50 jmcneill Exp $
2 1.1 jmcneill
3 1.1 jmcneill .include <bsd.own.mk>
4 1.1 jmcneill
5 1.1 jmcneill INSTIMGBASE= NetBSD-${DISTRIBVER}-${MACHINE_ARCH}-install # gives ${IMGBASE}.img
6 1.1 jmcneill
7 1.3 jmcneill INSTIMAGEMB?= 1550 # for all installation binaries
8 1.1 jmcneill
9 1.1 jmcneill .if ${MACHINE_ARCH} == "aarch64"
10 1.1 jmcneill EFIBOOT= ${WORKDIR}/usr/mdec/bootaa64.efi
11 1.1 jmcneill KERN_SET= kern-GENERIC64
12 1.1 jmcneill .elif ${MACHINE_ARCH} == "earmv7hf"
13 1.1 jmcneill EFIBOOT+= ${WORKDIR}/usr/mdec/bootarm.efi
14 1.1 jmcneill KERN_SET= kern-GENERIC
15 1.1 jmcneill .endif
16 1.1 jmcneill
17 1.1 jmcneill USE_GPT= yes
18 1.1 jmcneill
19 1.1 jmcneill DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
20 1.1 jmcneill SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
21 1.1 jmcneill
22 1.1 jmcneill SPEC_EXTRA= ${.CURDIR}/spec.inst
23 1.1 jmcneill IMGFILE_EXTRA= \
24 1.1 jmcneill ${.CURDIR}/etc.ttys etc/ttys \
25 1.1 jmcneill ${.CURDIR}/etc.rc etc/rc \
26 1.1 jmcneill ${.CURDIR}/install.sh . \
27 1.1 jmcneill ${SYSINSTDIR}/sysinstmsgs.de . \
28 1.1 jmcneill ${SYSINSTDIR}/sysinstmsgs.es . \
29 1.1 jmcneill ${SYSINSTDIR}/sysinstmsgs.fr . \
30 1.1 jmcneill ${SYSINSTDIR}/sysinstmsgs.pl . \
31 1.1 jmcneill ${SYSINSTDIR}/sysinst .
32 1.1 jmcneill
33 1.2 jmcneill MD_IMGDIR_EXCLUDE= -s ',./binary/gzimg.*,,gp'
34 1.4 jmcneill MD_IMGDIR_EXCLUDE+= -s ',./installation/instkernel.*,,gp'
35 1.4 jmcneill MD_IMGDIR_EXCLUDE+= -s ',./installation/ramdisk.*,,gp'
36 1.2 jmcneill
37 1.1 jmcneill .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.installimage"
38