Home | History | Annotate | Line # | Download | only in installimage
Makefile revision 1.5
      1  1.5  jmcneill #	$NetBSD: Makefile,v 1.5 2020/06/02 10:41:30 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.5  jmcneill .if ${MKDEBUG:Uno} != "no"
      8  1.5  jmcneill INSTIMAGEMB?=	2000			# for all installation binaries w/ debug
      9  1.5  jmcneill .else
     10  1.3  jmcneill INSTIMAGEMB?=	1550			# for all installation binaries
     11  1.5  jmcneill .endif
     12  1.1  jmcneill 
     13  1.1  jmcneill .if ${MACHINE_ARCH} == "aarch64"
     14  1.1  jmcneill EFIBOOT=		${WORKDIR}/usr/mdec/bootaa64.efi
     15  1.1  jmcneill KERN_SET=		kern-GENERIC64
     16  1.1  jmcneill .elif ${MACHINE_ARCH} == "earmv7hf"
     17  1.1  jmcneill EFIBOOT+=		${WORKDIR}/usr/mdec/bootarm.efi
     18  1.1  jmcneill KERN_SET=		kern-GENERIC
     19  1.1  jmcneill .endif
     20  1.1  jmcneill 
     21  1.1  jmcneill USE_GPT=		yes
     22  1.1  jmcneill 
     23  1.1  jmcneill DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
     24  1.1  jmcneill SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
     25  1.1  jmcneill 
     26  1.1  jmcneill SPEC_EXTRA=		${.CURDIR}/spec.inst
     27  1.1  jmcneill IMGFILE_EXTRA=								\
     28  1.1  jmcneill 	${.CURDIR}/etc.ttys		etc/ttys			\
     29  1.1  jmcneill 	${.CURDIR}/etc.rc		etc/rc				\
     30  1.1  jmcneill 	${.CURDIR}/install.sh		.				\
     31  1.1  jmcneill 	${SYSINSTDIR}/sysinstmsgs.de	.				\
     32  1.1  jmcneill 	${SYSINSTDIR}/sysinstmsgs.es	.				\
     33  1.1  jmcneill 	${SYSINSTDIR}/sysinstmsgs.fr	.				\
     34  1.1  jmcneill 	${SYSINSTDIR}/sysinstmsgs.pl	.				\
     35  1.1  jmcneill 	${SYSINSTDIR}/sysinst		.
     36  1.1  jmcneill 
     37  1.2  jmcneill MD_IMGDIR_EXCLUDE=	-s ',./binary/gzimg.*,,gp'
     38  1.4  jmcneill MD_IMGDIR_EXCLUDE+=	-s ',./installation/instkernel.*,,gp'
     39  1.4  jmcneill MD_IMGDIR_EXCLUDE+=	-s ',./installation/ramdisk.*,,gp'
     40  1.2  jmcneill 
     41  1.1  jmcneill .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.installimage"
     42