X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=meson.build;h=fb0a768ff2479440d5faa6428747943d9cec7fa5;hb=e728f9d92c21604ccda993c6ce856c7503041685;hp=56a8c64d2aa87fbb663a9a98fc3e8ece9683ff70;hpb=6c9457c27954f16d99f3798711eb253fbaf05fa3;p=dpdk.git diff --git a/meson.build b/meson.build index 56a8c64d2a..fb0a768ff2 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.08-rc2', license: 'BSD', default_options: ['buildtype=release', 'default_library=static'], meson_version: '>= 0.41' @@ -32,12 +32,18 @@ subdir('drivers') # build binaries and installable tools subdir('usertools') subdir('app') +subdir('test') # build any examples explicitly requested - useful for developers 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, @@ -65,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', '-march=@0@'.format(machine)] + extra_cflags: ['-include', 'rte_config.h'] + machine_args )