]> git.droids-corp.org - dpdk.git/blobdiff - drivers/meson.build
build: allow using wildcards to disable drivers
[dpdk.git] / drivers / meson.build
index bd154fa7ad92f7ddc11dc0cd71620e88e2885a68..5502bf9924f44071c7b1ecf0b00a369f19d28fdf 100644 (file)
@@ -17,7 +17,8 @@ dpdk_driver_classes = ['common',
               'event',   # depends on common, bus, mempool and net.
               'baseband'] # depends on common and bus.
 
-disabled_drivers = get_option('disable_drivers').split(',')
+disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers'),
+               ).stdout().split()
 
 default_cflags = machine_args
 if cc.has_argument('-Wno-format-truncation')