> -----Original Message-----
> From: Bruce Richardson <bruce.richard...@intel.com>
> Sent: Monday, March 30, 2020 3:53 PM
> To: Stojaczyk, Dariusz <dariusz.stojac...@intel.com>
> Cc: dev@dpdk.org
> Subject: Re: [PATCH] build: don't parse build configs of explicitly disabled
> drivers
> 
> [SNIP]
>
> Looking at this code and the meson docs again, I think this block and
> previous can be simplified by using the array "contains()" method to avoid
> the loop.
> 
>       if disabled_drivers.contains(drv_path)
>               build = false
>               reson = '....'
>       else
>               # pull in driver ...
>               subdir(drv_path)
>       endif
> 
> Regards,
> /Bruce

Oops, I haven't seen that mail. Sorry! I just pushed v2.
D.

Reply via email to