Cross Reference: Makefile
xref: /src/distrib/sparc64/cdroms/installcd/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/sparc64/cdroms/installcd/
Makefile revision 1.27
1#	$NetBSD: Makefile,v 1.27 2015/07/19 10:16:56 martin Exp $
2
3.include <bsd.own.mk>
4
5CDBASE=		sparc64cd		# gives ${CDBASE}.iso
6CDRELEASE=	true			# include $RELEASEDIR/$MACHINE
7CDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd
8CD_SETS=	base etc
9.if ${MKKMOD} != "no"
10CD_SETS+=	modules
11.endif
12
13SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
14
15CDRELEASE_NOISOS=	true
16CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
17CDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
18SUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
19
20image_md_pre:
21	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
22	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
23	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
24	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
25	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
26	${MKDIR} cdrom/mnt2 cdrom/targetroot
27	${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/
28
29image_md_post:
30	SUNLABEL=${TOOL_SUNLABEL:Q} \
31		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
32		${CDIMAGE} ${SUN_BOOT_ARGS}
33
34.include "${.CURDIR}/../../../common/Makefile.bootcd"
35
36

Indexes created Fri Dec 19 21:09:44 GMT 2025