diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2023-03-27 16:07:46 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2023-03-27 16:10:26 +0000 |
commit | 27c8d4851c15810fe4dc71dc12d343587f6ecdf2 (patch) | |
tree | d9ed0d0b09788ef2ab140fc9a2c9560c6845b276 /lib/libopencsd/Makefile | |
parent | d3a49f62a2848799a2e4cf205f44c4a0ca53b819 (diff) | |
download | src-27c8d4851c15810fe4dc71dc12d343587f6ecdf2.tar.gz src-27c8d4851c15810fe4dc71dc12d343587f6ecdf2.zip |
Include Embedded Trace Extensions (ETE) source code to the OpenCSD build.
Sponsored by: UKRI
Diffstat (limited to 'lib/libopencsd/Makefile')
-rw-r--r-- | lib/libopencsd/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/lib/libopencsd/Makefile b/lib/libopencsd/Makefile index f28b14977cfa..8919bbe5bfa1 100644 --- a/lib/libopencsd/Makefile +++ b/lib/libopencsd/Makefile @@ -7,7 +7,8 @@ SHLIBDIR?= /lib OPENCSDSRC= ${SRCTOP}/contrib/opencsd -.PATH: ${OPENCSDSRC}/decoder/source/etmv4/ \ +.PATH: ${OPENCSDSRC}/decoder/source/ete/ \ + ${OPENCSDSRC}/decoder/source/etmv4/ \ ${OPENCSDSRC}/decoder/source/etmv3/ \ ${OPENCSDSRC}/decoder/source/pkt_printers/ \ ${OPENCSDSRC}/decoder/source/mem_acc/ \ @@ -16,6 +17,7 @@ OPENCSDSRC= ${SRCTOP}/contrib/opencsd ${OPENCSDSRC}/decoder/source/ptm/ \ ${OPENCSDSRC}/decoder/source/stm/ \ ${OPENCSDSRC}/decoder/source/ \ + ${OPENCSDSRC}/decoder/include/opencsd/ete/ \ ${OPENCSDSRC}/decoder/include/opencsd/etmv4/ \ ${OPENCSDSRC}/decoder/include/opencsd/etmv3/ \ ${OPENCSDSRC}/decoder/include/opencsd/stm/ \ @@ -27,8 +29,12 @@ OPENCSDSRC= ${SRCTOP}/contrib/opencsd LIB= opencsd SHLIB_MAJOR=0 -# ETMv3 +# Embedded Trace Extensions (ETE) SRCS= \ + trc_cmp_cfg_ete.cpp + +# ETMv3 +SRCS+= \ trc_cmp_cfg_etmv3.cpp \ trc_pkt_decode_etmv3.cpp \ trc_pkt_elem_etmv3.cpp \ @@ -119,6 +125,14 @@ APIINCS= \ APIINCSDIR=${INCLUDEDIR}/opencsd/c_api/ +ETEINCS= \ + ete_decoder.h \ + trc_cmp_cfg_ete.h \ + trc_dcd_mngr_ete.h \ + trc_pkt_types_ete.h + +ETEINCSDIR=${INCLUDEDIR}/opencsd/ete/ + ETMV4INCS= \ etmv4_decoder.h \ trc_cmp_cfg_etmv4.h \ @@ -165,7 +179,7 @@ STMINCS= \ STMINCSDIR=${INCLUDEDIR}/opencsd/stm/ -INCSGROUPS=INCS APIINCS ETMV3INCS ETMV4INCS PTMINCS STMINCS +INCSGROUPS=INCS APIINCS ETEINCS ETMV3INCS ETMV4INCS PTMINCS STMINCS LIBADD= cxxrt |