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.25
1#	$NetBSD: Makefile,v 1.25 2015/05/27 09:44:40 martin Exp $
2CDBASE=		sparc64cd		# gives ${CDBASE}.iso
3CDRELEASE=	true			# include $RELEASEDIR/$MACHINE
4CDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd
5CD_SETS=	base etc modules
6
7# for PRINTOBJDIR
8.include <bsd.own.mk>
9
10SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
11
12CDRELEASE_NOISOS=	true
13CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
14CDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
15SUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
16
17image_md_pre:
18	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
19	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
20	${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys
21	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
22	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
23	${MKDIR} cdrom/mnt2 cdrom/targetroot
24	${INSTALL} ${COPY} -m 0555 ${SYSINSTDIR}/sysinst cdrom
25	for f in ${SYSINSTDIR}/sysinstmsgs.??; do \
26		${INSTALL} ${COPY} $$f cdrom; \
27	done
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