Cross Reference: Makefile
xref: /src/distrib/hpcmips/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/distrib/hpcmips/
Makefile revision 1.9
1#	$NetBSD: Makefile,v 1.9 2002/03/05 21:23:29 thorpej Exp $
2
3.include "../Makefile.inc"
4
5.include <bsd.obj.mk>
6.include <bsd.kernobj.mk>
7.include <bsd.own.mk>
8
9SUBDIR=
10
11ITARGET=	${RELEASEDIR}/installation
12IINST=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
13
14PBSDBOOTDIR = ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
15PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.exe
16PBSDBOOT1 = ${PBSDBOOTDIR}/pbsdboot1.exe
17MDSETIMAGE?=	mdsetimage
18
19INSTKERNELS = TX3912 TX3922
20
21.ifndef RELEASEDIR
22release:
23	@echo setenv RELEASEDIR first
24	@false
25.else
26MINIROOTDIR = ${.CURDIR}/../miniroot
27MINIROOTOBJ != cd ${MINIROOTDIR} && ${PRINTOBJDIR}
28
29release:
30	rm -f netbsd netbsd.gz
31	cp ${KERNOBJDIR}/RAMDISK/netbsd .
32	${MDSETIMAGE} netbsd ${MINIROOTOBJ}/miniroot.fs
33	gzip -9 netbsd
34	${IINST} netbsd.gz ${ITARGET}/.
35.for instkern in ${INSTKERNELS}
36	rm -f netbsd netbsd.gz
37	cp ${KERNOBJDIR}/INSTALL_${instkern}/netbsd .
38	${MDSETIMAGE} netbsd ${MINIROOTOBJ}/miniroot.fs
39	gzip -9 netbsd
40	${IINST} netbsd.gz ${ITARGET}/netbsd.${instkern}.gz
41.endfor
42	cd ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot; make
43	${IINST} ${PBSDBOOT} ${ITARGET}/.
44	${IINST} ${PBSDBOOT1} ${ITARGET}/.
45	${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz' '*.exe'
46.endif
47
48.include <bsd.subdir.mk>
49

Indexes created Sun Dec 07 20:09:42 GMT 2025