]> git.droids-corp.org - dpdk.git/blobdiff - meson.build
compress/mlx5: introduce PMD
[dpdk.git] / meson.build
index e8bb9c4c1ec652a1e8b7bb050654ef51944373cb..2b9c37eb42ace3ff30d47c307f5e6b5d190f940a 100644 (file)
@@ -39,10 +39,12 @@ global_inc = include_directories('.', 'config',
        'lib/librte_eal/@0@/include'.format(host_machine.system()),
        'lib/librte_eal/@0@/include'.format(arch_subdir),
 )
+
+# do configuration and get tool paths
+subdir('buildtools')
 subdir('config')
 
 # build libs and drivers
-subdir('buildtools')
 subdir('lib')
 subdir('drivers')
 
@@ -56,6 +58,9 @@ subdir('doc')
 # build any examples explicitly requested - useful for developers - and
 # install any example code into the appropriate install path
 subdir('examples')
+install_subdir('examples',
+       install_dir: get_option('datadir') + '/dpdk',
+       exclude_files: 'meson.build')
 
 # build kernel modules if enabled
 if get_option('enable_kmods')