diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2025-07-30 10:10:16 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2025-07-30 10:11:38 +0000 |
| commit | 1c52229528e7fee22440dd9a7180b562d3cbf339 (patch) | |
| tree | aa90d336ce7b3c84de037a86822f46ef517d1b8e | |
| parent | bcb298fa9e23c1192c5707086a67d3b396186abc (diff) | |
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
| -rw-r--r-- | ObsoleteFiles.inc | 5 | ||||
| -rw-r--r-- | lib/libopencsd/Makefile | 6 | ||||
| -rw-r--r-- | release/packages/ucl/libopencsd-all.ucl | 5 |
3 files changed, 6 insertions, 10 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 83fb2d3f3a2c..99a528806695 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -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 diff --git a/lib/libopencsd/Makefile b/lib/libopencsd/Makefile index 649e756eacf6..b37a864f7cbb 100644 --- a/lib/libopencsd/Makefile +++ b/lib/libopencsd/Makefile @@ -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= diff --git a/release/packages/ucl/libopencsd-all.ucl b/release/packages/ucl/libopencsd-all.ucl deleted file mode 100644 index af46292dceed..000000000000 --- a/release/packages/ucl/libopencsd-all.ucl +++ /dev/null @@ -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 |
