eal: deprecate function to set default mbuf pool
[dpdk.git] / meson.build
index 0ab47b6..eeb9c66 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright(c) 2017 Intel Corporation
 
 project('DPDK', 'C',
-       version: '18.02.0',
+       version: '18.05-rc5',
        license: 'BSD',
        default_options: ['buildtype=release', 'default_library=static'],
        meson_version: '>= 0.41'
@@ -39,6 +39,11 @@ if get_option('examples') != ''
        subdir('examples')
 endif
 
+# build kernel modules if enabled
+if get_option('enable_kmods')
+       subdir('kernel')
+endif
+
 # write the build config
 build_cfg = 'rte_build_config.h'
 configure_file(output: build_cfg,
@@ -66,5 +71,5 @@ pkg.generate(name: meson.project_name(),
                        ['-Wl,-Bdynamic'] + dpdk_extra_ldflags,
        description: 'The Data Plane Development Kit (DPDK)',
        subdirs: [get_option('include_subdir_arch'), '.'],
-       extra_cflags: ['-include', 'rte_config.h', machine_arg]
+       extra_cflags: ['-include', 'rte_config.h'] + machine_args
 )