[dpdk-dev] [PATCH] build: don't parse build configs of explicitly disabled drivers
Stojaczyk, Dariusz
dariusz.stojaczyk at intel.com
Thu May 7 12:16:53 CEST 2020
> -----Original Message-----
> From: Bruce Richardson <bruce.richardson at intel.com>
> Sent: Monday, March 30, 2020 3:53 PM
> To: Stojaczyk, Dariusz <dariusz.stojaczyk at intel.com>
> Cc: dev at 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.
More information about the dev
mailing list