[v7,2/8] lib/pmu: export only necessary arch headers
Checks
Commit Message
Install only architecture specific headers to avoid header pollution.
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
---
lib/pmu/meson.build | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
@@ -10,13 +10,13 @@ endif
headers = files('rte_pmu.h')
sources = files('pmu.c')
-indirect_headers += files(
- 'rte_pmu_pmc_arm64.h',
- 'rte_pmu_pmc_x86_64.h',
-)
-
if dpdk_conf.has('RTE_ARCH_ARM64')
+ indirect_headers += files('rte_pmu_pmc_arm64.h')
sources += files('pmu_arm64.c')
endif
+if dpdk_conf.has('RTE_ARCH_X86_64')
+ indirect_headers += files('rte_pmu_pmc_x86_64.h')
+endif
+
deps += ['log']