Cross Reference: Makefile
xref: /src/distrib/rs6000/bootfs/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/rs6000/bootfs/
11.3Sapb#	$NetBSD: Makefile,v 1.3 2014/08/05 15:40:58 apb Exp $
21.1Stsutsui
31.1Stsutsui.include <bsd.own.mk>
41.1Stsutsui.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
51.1Stsutsui
61.1StsutsuiIMAGE=		boot.fs
71.1Stsutsui
81.1StsutsuiMDEC=		${DESTDIR}/usr/mdec
91.1StsutsuiBOOTLOADER=	${MDEC}/boot
101.1Stsutsui
111.1StsutsuiKERNDIR!=	cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
121.1StsutsuiKERNEL=		${KERNDIR}/netbsd-INSTALL.gz
131.1Stsutsui
141.1StsutsuiTMPKERNEL=	${.OBJDIR}/netbsd
151.1Stsutsui
161.1StsutsuiBOOT_RELEASEDIR=	installation/bootfs
171.1Stsutsui
181.1Stsutsui${IMAGE}.gz:	${KERNEL} ${BOOTLOADER}
191.3Sapb	${TOOL_GZIP_N} -cd ${KERNEL} > ${TMPKERNEL}
201.1Stsutsui	${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} \
211.1Stsutsui	    -b ${BOOTLOADER} -k ${TMPKERNEL} ${IMAGE}
221.3Sapb	${TOOL_GZIP_N} -9c ${IMAGE} > ${IMAGE}.tmp
231.1Stsutsui	mv ${IMAGE}.tmp ${.TARGET}
241.1Stsutsui
251.1StsutsuiCLEANFILES+=	${IMAGE} ${IMAGE}.tmp ${IMAGE}.gz
261.1Stsutsui
271.1Stsutsuiall realall:	${IMAGE}.gz
281.1Stsutsui
291.1Stsutsuirelease::	check_RELEASEDIR .WAIT ${IMAGE}.gz
301.1Stsutsui	${RELEASE_INSTALL} ${IMAGE}.gz \
311.1Stsutsui	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/${BOOT_RELEASEDIR}
321.1Stsutsui
331.1Stsutsui.include <bsd.prog.mk>
34

Indexes created Fri Nov 28 22:09:29 GMT 2025