2016-06-30 13:04, Sergio Gonzalez Monroy: > On 30/06/2016 12:38, Thomas Monjalon wrote: > > Does it need to be commented in rte.app.mk? > > The other libs are in whole-archive to support dlopen of drivers. > > But the problem here is not because of a driver use. > > There seem to be a bunch of libraries under --whole-archive scope that > are not > PMDs, ie. cfgfile, cmdline... > > What is the criteria?
The criteria is a bit vague. We must try to include only libs which can be used by a driver. cmdline should probably not be there. Does it make sense to use cfgfile in a driver? maybe yes.