]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa2/meson.build
net/ice: fix RSS types check
[dpdk.git] / drivers / net / dpaa2 / meson.build
index 801cbf5d75d0a280561826b83e35fe4728f7d8e8..1a4ab212c256567493366f4482ec1f7e218a2ba0 100644 (file)
@@ -3,19 +3,27 @@
 
 version = 2
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_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
+
 includes += include_directories('base', 'mc')
 
 # depends on fslmc bus which uses experimental API