Home | History | Annotate | Line # | Download | only in etc.ofppc
      1  1.10      mrg #	$NetBSD: Makefile.inc,v 1.10 2019/11/18 01:11:14 mrg Exp $
      2   1.3    lukem #
      3   1.3    lukem #	etc.ofppc/Makefile.inc -- ofppc-specific etc Makefile targets
      4   1.3    lukem #
      5   1.1      chs 
      6   1.5    pavel # If you change the list of distributed kernels, don't forget
      7   1.5    pavel # to update the release documentation in distrib/notes/common/contents
      8   1.5    pavel 
      9  1.10      mrg .if ${MACHINE_ARCH} == "powerpc"
     10  1.10      mrg 
     11   1.8  garbled KERNEL_SETS=		GENERIC
     12   1.1      chs 
     13   1.8  garbled BUILD_KERNELS+=		INSTALL
     14   1.9  garbled 
     15  1.10      mrg .else
     16  1.10      mrg 
     17  1.10      mrg KERNEL_SETS=		GENERIC64
     18  1.10      mrg 
     19  1.10      mrg .endif
     20  1.10      mrg 
     21   1.9  garbled MD_INSTALLATION_DIRS=	installation/netboot
     22   1.9  garbled 
     23   1.9  garbled INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}
     24   1.9  garbled 
     25   1.9  garbled INSTALLATION_SYMLINKS=	\
     26   1.9  garbled 	netboot/netbsd-INSTALL.gz	../../binary/kernel/netbsd-INSTALL.gz \
     27   1.9  garbled 	netboot/netbsd-GENERIC.gz	../../binary/kernel/netbsd-GENERIC.gz
     28   1.9  garbled 
     29   1.9  garbled snap_md_post:
     30   1.9  garbled 	# install ofwboot in netboot directory
     31   1.9  garbled 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/ofwboot \
     32   1.9  garbled 		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
     33   1.9  garbled 
     34   1.9  garbled 	# install links to boot and installation utilities for various media
     35   1.9  garbled .for linkdst linksrc in ${INSTALLATION_SYMLINKS}
     36   1.9  garbled 	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
     37   1.9  garbled 	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
     38   1.9  garbled .endfor
     39   1.9  garbled 
     40   1.9  garbled 	# compute checksums
     41   1.9  garbled .for dir in ${MD_INSTALLATION_DIRS}
     42   1.9  garbled 	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
     43   1.9  garbled .endfor
     44