X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=meson.build;h=15f71fb05ff88959bf5867d4096c7a43e776372e;hb=dd3331c6f1ced718bc1634924b35849cc4ffbd70;hp=0ab47b6a0ecc19dc78c8883ddd38c1a9dafd8f76;hpb=b5dc795a8a55c041f447becab6a06de57e981fd6;p=dpdk.git diff --git a/meson.build b/meson.build index 0ab47b6a0e..15f71fb05f 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ # Copyright(c) 2017 Intel Corporation project('DPDK', 'C', - version: '18.02.0', + version: '18.05-rc4', 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 )