lib: Move libopencsd to /usr/lib and make private

libopencsd is used to decode Arm CoreSight traces. It isn't needed
during the boot so can be moved to /usr/lib, and may change it's API
so can be marked as private as onlt the future hwt tool will use it.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D51380
This commit is contained in:
Andrew Turner 2025-07-30 11:10:16 +01:00
parent bcb298fa9e
commit 1c52229528
3 changed files with 6 additions and 10 deletions

View file

@ -51,6 +51,11 @@
# xargs -n1 | sort | uniq -d;
# done
# 20250801: libopencsd libraries moved to /usr/lib and made private
OLD_FILES+=lib/libopencsd.so.0
OLD_FILES+=usr/lib/libopencsd.a
OLD_FILES+=usr/lib/libopencsd.so
# 20250728: zfsboot (MBR) removed
OLD_FILES+=boot/zfsboot
OLD_FILES+=usr/share/man/man8/zfsboot.8.gz

View file

@ -1,8 +1,3 @@
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
OPENCSDSRC= ${SRCTOP}/contrib/opencsd
.PATH: ${OPENCSDSRC}/decoder/source/ete/ \
@ -182,6 +177,7 @@ INCSGROUPS=INCS APIINCS ETEINCS ETMV3INCS ETMV4INCS PTMINCS STMINCS
LIBADD= cxxrt
WARNS?= 1
PRIVATELIB= true
HAS_TESTS=

View file

@ -1,5 +0,0 @@
comment = "ARM CoreSight Trace Decode Library"
desc = <<EOD
This library provides an API suitable for the decode of ARM CoreSight
trace streams.
EOD