[dpdk-dev] [PATCH v3 01/17] build: add initial infrastructure for meson & ninja builds

Timothy M. Redaelli tredaelli at redhat.com
Wed Sep 20 12:33:41 CEST 2017


On September 20, 2017 12:24:15 PM GMT+02:00, Bruce Richardson <bruce.richardson at intel.com> wrote:
>On Wed, Sep 20, 2017 at 12:10:19PM +0200, Timothy M. Redaelli wrote:
>> On 09/13/2017 04:12 PM, Bruce Richardson wrote:
>> [...]
>> > +
>> > +# for static libs, treat the drivers as regular libraries,
>otherwise
>> > +# for shared libs, put them in a driver folder
>> > +if get_option('default_library') == 'static'
>> > +	driver_install_path = get_option('libdir')
>> > +else
>> > +	driver_install_path = join_paths(get_option('datadir'),
>'dpdk/drivers')
>> > +endif
>> 
>> This is against hier, since:
>> "This directory contains subdirectories with specific application
>data,
>> that can be shared among different architectures of the same OS."
>> (from man 7 hier)
>> 
>> Please consider to use a subdirectory of libdir like the actual dpdk
>> instead.
>
>Sure. Using "$libdir/dpdk/drivers" work well, or is there a better
>choice?

Sounds good, thank you


More information about the dev mailing list