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

Bruce Richardson bruce.richardson at intel.com
Fri Mar 11 21:05:20 CET 2022


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 at intel.com>
---
 lib/compressdev/meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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']
-- 
2.34.1



More information about the dev mailing list