Home | History | Annotate | Line # | Download | only in instkernel
Makefile revision 1.1
      1  1.1  tsutsui #	$NetBSD: Makefile,v 1.1 2002/04/14 14:14:16 tsutsui Exp $
      2  1.1  tsutsui 
      3  1.1  tsutsui .include <bsd.own.mk>
      4  1.1  tsutsui .include "${_SRC_TOP_}/distrib/Makefile.inc"
      5  1.1  tsutsui 
      6  1.1  tsutsui RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
      7  1.1  tsutsui RAMDISK=	${RAMDISKDIR}/ramdisk.fs
      8  1.1  tsutsui MDSETTARGETS=	RAMDISK ${RAMDISK} -
      9  1.1  tsutsui 
     10  1.1  tsutsui netbsd.RAMDISK.post=	OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
     11  1.1  tsutsui 			    ${OBJCOPY} -O ecoff-littlemips \
     12  1.1  tsutsui 			    -R .mdebug -R .ident \
     13  1.1  tsutsui 			    netbsd.tmp netbsd.tmp.ecoff && \
     14  1.1  tsutsui 			    gzip -9f netbsd.tmp.ecoff && \
     15  1.1  tsutsui 			    mv netbsd.tmp.ecoff.gz netbsd.RAMDISK.ecoff.gz
     16  1.1  tsutsui 
     17  1.1  tsutsui CLEANFILES+=	netbsd.tmp.ecoff netbsd.RAMDISK.ecoff netbsd.RAMDISK.ecoff.gz
     18  1.1  tsutsui 
     19  1.1  tsutsui KERNBINDIR=	${RELEASEDIR}/binary/kernel
     20  1.1  tsutsui 
     21  1.1  tsutsui release: check_RELEASEDIR .WAIT netbsd.RAMDISK.gz netbsd.RAMDISK.ecoff.gz
     22  1.1  tsutsui 	-mkdir -p ${KERNBINDIR}
     23  1.1  tsutsui 	${RELINSTALL} netbsd.RAMDISK.gz netbsd.RAMDISK.symbols.gz \
     24  1.1  tsutsui 	    netbsd.RAMDISK.ecoff.gz ${KERNBINDIR}
     25  1.1  tsutsui 
     26  1.1  tsutsui .include "${DISTRIBDIR}/common/Makefile.mdset"
     27  1.1  tsutsui 
     28  1.1  tsutsui .include <bsd.prog.mk>
     29