Module Name: src
Committed By: matt
Date: Fri May 20 16:49:23 UTC 2011
Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: Makefile.evbmips.inc
Log Message:
Add NEED_SREC and NEED_BINARY blocks so these don't need to be copied
repeated.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.96.1 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 src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.2.96.1
--- src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.2 Thu Nov 24 12:54:29 2005
+++ src/sys/arch/evbmips/conf/Makefile.evbmips.inc Fri May 20 16:49:23 2011
@@ -1,6 +1,16 @@
-# $NetBSD: Makefile.evbmips.inc,v 1.2 2005/11/24 12:54:29 dbj Exp $
+# Makefile.evbmips.inc,v 1.2 2005/11/24 12:54:29 dbj Exp
-SYSTEM_LD_TAIL_EXTRA=; \
+.if defined(NEED_SREC) && ${NEED_SREC} != "no"
+SYSTEM_LD_TAIL_EXTRA+=; \
echo ${STRIP} -O srec -o [email protected] $@; \
${STRIP} -O srec -o [email protected] $@
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.srec@}
+.endif
+
+.if defined(NEED_BINARY) && ${NEED_BINARY} != "no"
+SYSTEM_LD_TAIL_EXTRA+=; \
+ echo ${OBJCOPY} -S -O binary $@ [email protected]; \
+ ${OBJCOPY} -S -O binary $@ [email protected]
+
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
+.endif