diff options
| author | David Marchand <[email protected]> | 2023-10-23 13:50:28 +0200 |
|---|---|---|
| committer | David Marchand <[email protected]> | 2024-10-23 16:36:25 +0200 |
| commit | 90cb8ff8196f9b9c1c2bcee1c94ea583789bb63f (patch) | |
| tree | 0d30fb026a1810323b974ff1b7bafe7e597f24de /buildtools | |
| parent | 706fb9b3c6190990126fb5262accbe87a77e5790 (diff) | |
buildtools/chkincs: check driver specific headers
Only driver headers exported by libraries were checked.
Add driver specific headers to the checked headers list.
This reveals a small issue with the vmbus driver header as some driver
headers rely on it.
Fixes: b232b2aa212b ("buildtools/chkincs: check SDK headers for C++ compatibility")
Fixes: 84aaf06d817c ("bus/vmbus: make driver-only headers private")
Signed-off-by: David Marchand <[email protected]>
Acked-by: Morten Brørup <[email protected]>
Diffstat (limited to 'buildtools')
| -rw-r--r-- | buildtools/chkincs/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build index 787d70272b..ed65105599 100644 --- a/buildtools/chkincs/meson.build +++ b/buildtools/chkincs/meson.build @@ -19,6 +19,9 @@ sources += gen_c_files.process(dpdk_chkinc_headers) # some driver SDK headers depend on these two buses, which are mandatory in build # so we always include them in deps list deps = [get_variable('shared_rte_bus_vdev'), get_variable('shared_rte_bus_pci')] +if dpdk_conf.has('RTE_BUS_VMBUS') + deps += get_variable('shared_rte_bus_vmbus') +endif # add the rest of the libs to the dependencies foreach l:dpdk_libs_enabled deps += get_variable('shared_rte_' + l) |
