mk: Move vm stack test debug symbols

Avoid the creation of a /usr/tests/sys/vm/stack/.debug directory by
placing sys/vm/stack test debug symbols under /usr/lib/debug.

Reviewed by:	emaste
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D48796
This commit is contained in:
Jose Luis Duran
2025-02-04 14:47:24 +00:00
parent bccaf0262d
commit 88d448ec81
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -51,6 +51,9 @@
# xargs -n1 | sort | uniq -d; # xargs -n1 | sort | uniq -d;
# done # done
# 20250204: sys/vm/stack test symbols moved to /usr/lib/debug
OLD_DIRS+=usr/tests/sys/vm/stack/.debug
# 20250129: libdevinfo bumped to version 7 # 20250129: libdevinfo bumped to version 7
OLD_LIBS+=lib/libdevinfo.so.6 OLD_LIBS+=lib/libdevinfo.so.6
+2 -1
View File
@@ -254,7 +254,8 @@ SHLIB_NAME_FULL=${SHLIB_NAME}.full
# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory # Use ${DEBUGDIR} for base system debug files, else .debug subdirectory
.if ${_SHLIBDIR} == "/boot" ||\ .if ${_SHLIBDIR} == "/boot" ||\
${SHLIBDIR:C%/lib(/.*)?$%/lib%} == "/lib" ||\ ${SHLIBDIR:C%/lib(/.*)?$%/lib%} == "/lib" ||\
${SHLIBDIR:C%/usr/(tests/)?lib(32|exec)?(/.*)?%/usr/lib%} == "/usr/lib" ${SHLIBDIR:C%/usr/lib(32|exec)?(/.*)?%/usr/lib%} == "/usr/lib" ||
${SHLIBDIR:C%/usr/tests(/.*)?%/usr/tests%} == "/usr/tests"
DEBUGFILEDIR=${DEBUGDIR}${_SHLIBDIR} DEBUGFILEDIR=${DEBUGDIR}${_SHLIBDIR}
.else .else
DEBUGFILEDIR=${_SHLIBDIR}/.debug DEBUGFILEDIR=${_SHLIBDIR}/.debug