summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/internal/meson.build16
-rw-r--r--src/libcamera/meson.build2
2 files changed, 10 insertions, 8 deletions
diff --git a/include/libcamera/internal/meson.build b/include/libcamera/internal/meson.build
index f96cc5e3..39230fac 100644
--- a/include/libcamera/internal/meson.build
+++ b/include/libcamera/internal/meson.build
@@ -2,13 +2,6 @@
subdir('tracepoints')
-libcamera_tracepoint_header = custom_target(
- 'tp_header',
- input : ['tracepoints.h.in', tracepoint_files],
- output : 'tracepoints.h',
- command : [gen_tracepoints_header, include_build_dir, '@OUTPUT@', '@INPUT@'],
-)
-
libcamera_internal_headers = files([
'bayer_format.h',
'byte_stream_buffer.h',
@@ -51,5 +44,14 @@ libcamera_internal_headers = files([
'yaml_parser.h',
])
+tracepoints_h = custom_target(
+ 'tp_header',
+ input : ['tracepoints.h.in', tracepoint_files],
+ output : 'tracepoints.h',
+ command : [gen_tracepoints_header, include_build_dir, '@OUTPUT@', '@INPUT@'],
+)
+
+libcamera_internal_headers += tracepoints_h
+
subdir('converter')
subdir('software_isp')
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 86e8b88c..6a7c9d77 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -55,7 +55,6 @@ libcamera_internal_sources = files([
])
libcamera_public_sources += libcamera_public_headers
-libcamera_internal_sources += libcamera_tracepoint_header
includes = [
libcamera_includes,
@@ -196,6 +195,7 @@ libcamera = shared_library('libcamera',
[
libcamera_public_sources,
libcamera_ipa_headers,
+ libcamera_internal_headers,
libcamera_internal_sources,
],
version : libcamera_version,