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.26
1#	$NetBSD: Makefile,v 1.26 2015/05/28 09:51:31 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} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/
25
26image_md_post:
27	SUNLABEL=${TOOL_SUNLABEL:Q} \
28		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
29		${CDIMAGE} ${SUN_BOOT_ARGS}
30
31.include "${.CURDIR}/../../../common/Makefile.bootcd"
32
33

Indexes created Sat Dec 20 00:09:35 GMT 2025