X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fmeson.build;h=3b8b0998208a187dffffd41308baba59c6f67356;hb=28dde5da503ed09f10cdfb295e390b114df7330a;hp=c9a20f65b7af6e07d3f9c783366ea1a1589c9de7;hpb=0bf5832222971a0154c9150d4a7a4b82ecbc9ddb;p=dpdk.git diff --git a/lib/meson.build b/lib/meson.build index c9a20f65b7..3b8b099820 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -45,6 +45,7 @@ libraries = [ 'pdump', 'rawdev', 'regexdev', + 'dmadev', 'rib', 'reorder', 'sched', @@ -76,19 +77,30 @@ if is_windows 'ethdev', 'pci', 'cmdline', + 'metrics', 'hash', + 'timer', + 'bitratestats', + 'cryptodev', 'cfgfile', + 'gro', + 'gso', + 'latencystats', + 'pdump', + 'stack', + 'security', ] # only supported libraries for windows endif optional_libs = [ - 'kni', - 'power', - 'vhost', + 'kni', + 'power', + 'vhost', ] disabled_libs = [] -opt_disabled_libs = run_command(list_dir_globs, get_option('disable_libs')).stdout().split() +opt_disabled_libs = run_command(list_dir_globs, get_option('disable_libs'), + check: true).stdout().split() foreach l:opt_disabled_libs if not optional_libs.contains(l) warning('Cannot disable mandatory library "@0@"'.format(l)) @@ -170,13 +182,14 @@ foreach l:libraries libname = 'rte_' + name includes += include_directories(l) - if is_windows and use_function_versioning + if developer_mode and is_windows and use_function_versioning message('@0@: Function versioning is not supported by Windows.'.format(name)) endif if use_function_versioning cflags += '-DRTE_USE_FUNCTION_VERSIONING' endif + cflags += '-DRTE_LOG_DEFAULT_LOGTYPE=lib.' + l # first build static lib static_lib = static_library(libname, @@ -227,7 +240,7 @@ foreach l:libraries endif lk_deps = [version_map, def_file, mingw_map] - if not is_windows + if developer_mode and not is_windows # on unix systems check the output of the # check-symbols.sh script, using it as a # dependency of the .so build