Home | History | Annotate | Line # | Download | only in etc.ofppc
Makefile.inc revision 1.8.6.1
      1 #	$NetBSD: Makefile.inc,v 1.8.6.1 2008/06/02 13:21:20 mjf Exp $
      2 #
      3 #	etc.ofppc/Makefile.inc -- ofppc-specific etc Makefile targets
      4 #
      5 
      6 # If you change the list of distributed kernels, don't forget
      7 # to update the release documentation in distrib/notes/common/contents
      8 
      9 KERNEL_SETS=		GENERIC
     10 
     11 BUILD_KERNELS+=		INSTALL
     12 
     13 MD_INSTALLATION_DIRS=	installation/netboot
     14 
     15 INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}
     16 
     17 INSTALLATION_SYMLINKS=	\
     18 	netboot/netbsd-INSTALL.gz	../../binary/kernel/netbsd-INSTALL.gz \
     19 	netboot/netbsd-GENERIC.gz	../../binary/kernel/netbsd-GENERIC.gz
     20 
     21 snap_md_post:
     22 	# install ofwboot in netboot directory
     23 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/ofwboot \
     24 		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
     25 
     26 	# install links to boot and installation utilities for various media
     27 .for linkdst linksrc in ${INSTALLATION_SYMLINKS}
     28 	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
     29 	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
     30 .endfor
     31 
     32 	# compute checksums
     33 .for dir in ${MD_INSTALLATION_DIRS}
     34 	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
     35 .endfor
     36