summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-12-07 19:15:52 +0000
committeremaste <emaste@FreeBSD.org>2015-12-07 19:15:52 +0000
commitb31f8eb86f657d068dcfb60f932fe00acd797551 (patch)
tree973948afa0311b1d14b5c89986e20332efddf13d
parent35ba897ce63b340feb313c2c98f1f7756785e5ca (diff)
downloadFreeBSD-src-b31f8eb86f657d068dcfb60f932fe00acd797551.zip
FreeBSD-src-b31f8eb86f657d068dcfb60f932fe00acd797551.tar.gz
Build and install userland .debug files by default
Debug data files are now built by default with 'make buildworld' and installed with 'make installworld'. This facilitates debugging but requires more disk space both during the build and for the installed world. Debug files may be disabled by setting WITHOUT_DEBUG_FILES=yes in src.conf(5). Reviewed by: bdrewery, eadler, vangyzen Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4018
-rw-r--r--UPDATING7
-rw-r--r--share/mk/bsd.opts.mk2
2 files changed, 8 insertions, 1 deletions
diff --git a/UPDATING b/UPDATING
index 4169a10..2775c22 100644
--- a/UPDATING
+++ b/UPDATING
@@ -31,6 +31,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20151207:
+ Debug data files are now built by default with 'make buildworld' and
+ installed with 'make installworld'. This facilitates debugging but
+ requires more disk space both during the build and for the installed
+ world. Debug files may be disabled by setting WITHOUT_DEBUG_FILES=yes
+ in src.conf(5).
+
20151130:
r291527 changed the internal interface between the nfsd.ko and
nfscommon.ko modules. As such, they must both be upgraded to-gether.
diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk
index d242da5..3c27322 100644
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -50,6 +50,7 @@ __<bsd.opts.mk>__:
__DEFAULT_YES_OPTIONS = \
ASSERT_DEBUG \
+ DEBUG_FILES \
DOCCOMPRESS \
INCLUDES \
INSTALLLIB \
@@ -69,7 +70,6 @@ __DEFAULT_NO_OPTIONS = \
CCACHE_BUILD \
FAST_DEPEND \
CTF \
- DEBUG_FILES \
INSTALL_AS_USER \
STALE_STAGED
OpenPOWER on IntegriCloud