blob: ec6f4cf350783a00248f08761d9ce8065d41f165 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: installimage.mk,v 1.3 2022/07/30 00:55:38 pgoyette Exp $
# common code between distrib/amd64/installimage/Makefile and
# distrib/amd64/installimage-bios/Makefile.
.if ${USE_XZ_SETS:Uno} != "no"
INSTIMAGEMB?= 2500 # for all installation binaries
.else
INSTIMAGEMB?= 4000 # for all installation binaries
.endif
PRIMARY_BOOT= bootxx_ffsv1
SECONDARY_BOOT= boot
SECONDARY_BOOT_ARG= # unnecessary
CLEANFILES+= boot.cfg
prepare_md_post:
${TOOL_SED} \
-e "s/@@MACHINE@@/${MACHINE}/" \
-e "s/@@VERSION@@/${DISTRIBVER}/" \
< ${.CURDIR}/boot.cfg.in > boot.cfg
DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
SPEC_EXTRA= ${.CURDIR}/spec.inst
IMGFILE_EXTRA= \
${.CURDIR}/etc.ttys etc/ttys \
${.CURDIR}/etc.rc etc/rc \
${.CURDIR}/install.sh . \
${.OBJDIR}/boot.cfg .
|