blob: 2a8f9d4e05408807a34968ab3e7a1759f924115e (
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
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile.inc,v 1.10 2019/11/18 01:11:14 mrg Exp $
#
# etc.ofppc/Makefile.inc -- ofppc-specific etc Makefile targets
#
# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents
.if ${MACHINE_ARCH} == "powerpc"
KERNEL_SETS= GENERIC
BUILD_KERNELS+= INSTALL
.else
KERNEL_SETS= GENERIC64
.endif
MD_INSTALLATION_DIRS= installation/netboot
INSTALLATION_DIRS+= ${MD_INSTALLATION_DIRS}
INSTALLATION_SYMLINKS= \
netboot/netbsd-INSTALL.gz ../../binary/kernel/netbsd-INSTALL.gz \
netboot/netbsd-GENERIC.gz ../../binary/kernel/netbsd-GENERIC.gz
snap_md_post:
# install ofwboot in netboot directory
${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/ofwboot \
${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
# install links to boot and installation utilities for various media
.for linkdst linksrc in ${INSTALLATION_SYMLINKS}
rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
.endfor
# compute checksums
.for dir in ${MD_INSTALLATION_DIRS}
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
.endfor
|