net/i40e: fix Rx packet statistics
[dpdk.git] / drivers / net / dpaa2 / meson.build
index 6dd0eb2..21b827a 100644 (file)
@@ -1,27 +1,28 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2018 NXP
+# Copyright 2018-2021 NXP
 
 if not is_linux
-       build = false
-       reason = 'only supported on linux'
+    build = false
+    reason = 'only supported on Linux'
 endif
 
 deps += ['mempool_dpaa2']
-sources = files('base/dpaa2_hw_dpni.c',
-               'dpaa2_mux.c',
-               'dpaa2_ethdev.c',
-               'dpaa2_flow.c',
-               'dpaa2_rxtx.c',
-               'dpaa2_sparser.c',
-               'mc/dpkg.c',
-               'mc/dpdmux.c',
-               'mc/dpni.c')
-
-if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
-       sources += files('mc/dprtc.c')
-       sources += files('dpaa2_ptp.c')
-endif
+sources = files(
+        'base/dpaa2_hw_dpni.c',
+        'base/dpaa2_tlu_hash.c',
+        'dpaa2_tm.c',
+        'dpaa2_mux.c',
+        'dpaa2_ethdev.c',
+        'dpaa2_flow.c',
+        'dpaa2_rxtx.c',
+        'dpaa2_sparser.c',
+        'dpaa2_ptp.c',
+        'mc/dprtc.c',
+        'mc/dpkg.c',
+        'mc/dpdmux.c',
+        'mc/dpni.c',
+)
 
 includes += include_directories('base', 'mc')
 
-install_headers('rte_pmd_dpaa2.h')
+headers = files('rte_pmd_dpaa2.h')