build: support disabling drivers with meson
[dpdk.git] / meson_options.txt
1 # Please keep these options sorted alphabetically.
2
3 option('allow_invalid_socket_id', type: 'boolean', value: false,
4         description: 'allow out-of-range NUMA socket id\'s for platforms that don\'t report the value correctly')
5 option('disable_drivers', type: 'string', value: '',
6         description: 'Comma-separated list of drivers to explicitly disable.')
7 option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
8         description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')
9 option('enable_docs', type: 'boolean', value: false,
10         description: 'build documentation')
11 option('enable_kmods', type: 'boolean', value: true,
12         description: 'build kernel modules')
13 option('examples', type: 'string', value: '',
14         description: 'Comma-separated list of examples to build by default')
15 option('flexran_sdk', type: 'string', value: '',
16         description: 'Path to FlexRAN SDK optional Libraries for BBDEV device')
17 option('ibverbs_link', type: 'combo', choices : ['shared', 'dlopen'], value: 'shared',
18         description: 'Linkage method (shared/dlopen) for Mellanox PMDs with ibverbs dependencies.')
19 option('include_subdir_arch', type: 'string', value: '',
20         description: 'subdirectory where to install arch-dependent headers')
21 option('kernel_dir', type: 'string', value: '',
22         description: 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir/build. Modules will be installed in $DEST_DIR/$kernel_dir/extra/dpdk.')
23 option('lib_musdk_dir', type: 'string', value: '',
24         description: 'path to the MUSDK library installation directory')
25 option('machine', type: 'string', value: 'native',
26         description: 'set the target machine type')
27 option('max_ethports', type: 'integer', value: 32,
28         description: 'maximum number of Ethernet devices')
29 option('max_lcores', type: 'integer', value: 128,
30         description: 'maximum number of cores/threads supported by EAL')
31 option('max_numa_nodes', type: 'integer', value: 4,
32         description: 'maximum number of NUMA nodes supported by EAL')
33 option('per_library_versions', type: 'boolean', value: true,
34         description: 'true: each lib gets its own version number, false: DPDK version used for each lib')
35 option('tests', type: 'boolean', value: true,
36         description: 'build unit tests')
37 option('use_hpet', type: 'boolean', value: false,
38         description: 'use HPET timer in EAL')