Module Name: src
Committed By: martin
Date: Mon May 5 19:10:01 UTC 2014
Modified Files:
src/etc: Makefile
Log Message:
Use the new -U option for config to avoid generating kernel debug info
during release builds. This should save quite some space in the evbarm
build, where makeoptions DEBUG is heavily used.
To generate a diff of this commit:
cvs rdiff -u -r1.412 -r1.413 src/etc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/Makefile
diff -u src/etc/Makefile:1.412 src/etc/Makefile:1.413
--- src/etc/Makefile:1.412 Mon Jan 27 21:37:17 2014
+++ src/etc/Makefile Mon May 5 19:10:00 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.412 2014/01/27 21:37:17 apb Exp $
+# $NetBSD: Makefile,v 1.413 2014/05/05 19:10:00 martin Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -558,7 +558,7 @@ build_kernels: .PHONY
build_kernels: kern-${configfile}
kern-${configfile}: .PHONY .MAKE
cd ${KERNCONFDIR} && ${TOOL_CONFIG} -s ${KERNSRCDIR} \
- -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile}
+ -U DEBUG -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile}
.if ${MKUPDATE} == "no"
cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean
.endif