[2/5] compressdev: separate out driver-only headers

Message ID 20220311200523.1020050-3-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series build fixes on FreeBSD |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Bruce Richardson March 11, 2022, 8:05 p.m. UTC
  The headers rte_compressdev_pmd.h and rte_compressdev_internal.h are,
as the filenames suggest, headers for building drivers using the
compressdev APIs. As such they should be marked as
"driver_sdk_headers" rather than just "headers" in the meson.build
file.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 lib/compressdev/meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
  

Patch

diff --git a/lib/compressdev/meson.build b/lib/compressdev/meson.build
index 75ea666a9b..c80295dc0d 100644
--- a/lib/compressdev/meson.build
+++ b/lib/compressdev/meson.build
@@ -11,7 +11,9 @@  sources = files('rte_compressdev.c',
     'rte_compressdev_pmd.c',
     'rte_comp.c')
 headers = files('rte_compressdev.h',
-    'rte_compressdev_pmd.h',
-    'rte_compressdev_internal.h',
     'rte_comp.h')
+driver_sdk_headers = files(
+        'rte_compressdev_pmd.h',
+        'rte_compressdev_internal.h',
+    )
 deps += ['kvargs', 'mbuf']