On 10/21/2015 11:44 AM, Thomas Monjalon wrote: > 2015-10-21 11:29, Panu Matilainen: >> Add a new EAL option -D for loading all drivers from a given directory. >> Additionally a default driver directory can be set in build-time >> configuration, in which case it will be always be used when EAL is >> initialized (but can be overridden or disabled with -D). > [...] >> @@ -955,6 +1004,7 @@ eal_common_usage(void) >> " --"OPT_SYSLOG" Set syslog facility\n" >> " --"OPT_LOG_LEVEL" Set default log level\n" >> " -d LIB.so Add driver (can be used multiple times)\n" >> + " -D DIRECTORY Add driver directory)\n" > > Another idea: instead of adding a new option, why not make -d able to deal > with directories? >
If that's what you want, sure. Just wishing you'd come up with this idea a bit earlier :) - Panu -