Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src bsd.own.mk: force MKSTRIPSYM=no if MKDEBUG=yes
details: https://anonhg.NetBSD.org/src/rev/26f92e47d992
branches: trunk
changeset: 378159:26f92e47d992
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jul 23 16:52:37 2023 +0000
description:
bsd.own.mk: force MKSTRIPSYM=no if MKDEBUG=yes
Local symbols are desirable with MKDEBUG=yes, so don't strip them.
Per request from mrg@
diffstat:
doc/CHANGES | 3 ++-
share/man/man5/mk.conf.5 | 11 +++++++++--
share/mk/bsd.own.mk | 9 ++++++++-
3 files changed, 19 insertions(+), 4 deletions(-)
diffs (76 lines):
diff -r 95845811f24e -r 26f92e47d992 doc/CHANGES
--- a/doc/CHANGES Sun Jul 23 16:49:29 2023 +0000
+++ b/doc/CHANGES Sun Jul 23 16:52:37 2023 +0000
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2983 $>
+# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2984 $>
#
#
# [Note: This file does not mention every change made to the NetBSD source tree.
@@ -163,3 +163,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
gcc(1): Import GCC 10.5. [mrg 20230710]
dhcpcd: Import version 10.0.2. [roy 20230719]
bta2dpd(8): Add throttle when playing from file. [nat 20230720]
+ build: Force MKSTRIPSYM=no if MKDEBUG=yes.
diff -r 95845811f24e -r 26f92e47d992 share/man/man5/mk.conf.5
--- a/share/man/man5/mk.conf.5 Sun Jul 23 16:49:29 2023 +0000
+++ b/share/man/man5/mk.conf.5 Sun Jul 23 16:52:37 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mk.conf.5,v 1.107 2023/07/22 18:49:40 lukem Exp $
+.\" $NetBSD: mk.conf.5,v 1.108 2023/07/23 16:52:37 lukem Exp $
.\"
.\" Copyright (c) 1999-2023 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 22, 2023
+.Dd July 23, 2023
.Dt MK.CONF 5
.Os
.\" turn off hyphenation
@@ -691,6 +691,12 @@ and
set and installed in
.Sy DESTDIR Ns Pa /usr/libdata/debug .
.NODEF NODEBUG
+.Pp
+If
+.Dq yes ,
+acts as
+.Sy MKSTRIPSYM=no .
+.
.DFLTn
.
.It Sy MKDEBUGKERNEL
@@ -1649,6 +1655,7 @@ userland libraries and getting a backtra
.Xr rumpkernel 7
kernel
loading shared libraries.
+.NOVAR MKDEBUG=yes
.DFLTy
.
.It Sy MKTEGRAFIRMWARE
diff -r 95845811f24e -r 26f92e47d992 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Jul 23 16:49:29 2023 +0000
+++ b/share/mk/bsd.own.mk Sun Jul 23 16:52:37 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1344 2023/07/23 16:49:29 lukem Exp $
+# $NetBSD: bsd.own.mk,v 1.1345 2023/07/23 16:52:37 lukem Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1498,6 +1498,13 @@ MKLIBCXX:= yes
.endif
#
+# Disable MKSTRIPSYM if MKDEBUG is enabled.
+#
+.if ${MKDEBUG} != "no"
+MKSTRIPSYM:= no
+.endif
+
+#
# install(1) parameters.
#
COPY?= -c
Home |
Main Index |
Thread Index |
Old Index