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