Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Use the new -U option for config to avoid generating ker...



details:   https://anonhg.NetBSD.org/src/rev/5c5fc4f0ff99
branches:  trunk
changeset: 795845:5c5fc4f0ff99
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 05 19:10:00 2014 +0000

description:
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.

diffstat:

 etc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fcfd22e82b7c -r 5c5fc4f0ff99 etc/Makefile
--- a/etc/Makefile      Mon May 05 19:08:13 2014 +0000
+++ b/etc/Makefile      Mon May 05 19:10:00 2014 +0000
@@ -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: 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



Home | Main Index | Thread Index | Old Index