Module Name: src Committed By: matt Date: Tue May 24 06:22:39 UTC 2011
Modified Files: src/sys/arch/evbmips/conf [matt-nb5-mips64]: Makefile.evbmips.inc Log Message: Add a NEED_MDSETIMAGE block. To generate a diff of this commit: cvs rdiff -u -r1.2.96.2 -r1.2.96.3 \ src/sys/arch/evbmips/conf/Makefile.evbmips.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbmips/conf/Makefile.evbmips.inc diff -u src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.2.96.2 src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.2.96.3 --- src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.2.96.2 Tue May 24 04:38:49 2011 +++ src/sys/arch/evbmips/conf/Makefile.evbmips.inc Tue May 24 06:22:39 2011 @@ -1,5 +1,13 @@ # Makefile.evbmips.inc,v 1.2 2005/11/24 12:54:29 dbj Exp +RAMDISKDIR!= cd ${NETBSDSRCDIR}/distrib/${THISMIPS:T}/instkernel/ramdisk && ${PRINTOBJDIR} + +.if defined(NEEDS_MDSETIMAGE) && exists(${RAMDISKDIR}/ramdisk.fs) +SYSTEM_LD_TAIL_EXTRA+=; \ + echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs; \ + ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs +.endif + .if defined(NEED_SREC) && ${NEED_SREC} != "no" SYSTEM_LD_TAIL_EXTRA+=; \ echo ${STRIP} -O srec -o $@.srec $@; \