On 7 December 2016 at 01:19, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> After applying this series ./configure fails: > > ./configure > .... > checking for GCC atomic builtins... yes > checking libconfig.h usability... no > checking libconfig.h presence... no > checking for libconfig.h... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for PKGCONFIG... no > configure: error: Package requirements (libconfig >= 1.3.2) were not met: > > No package 'libconfig' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables PKGCONFIG_CFLAGS > and PKGCONFIG_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > Is there a new DEPENDENCIES add that's needed? > Yes: patch " linux-gen: init: adding configuration file parsing" (in this series) needs libconfig-dev. The patch adds libconfig-dev in DEPENDENCIES too. Is there anything else which needs to be done when an extra dependency is added? Thanks for your attention, Christophe > On Tue, Dec 6, 2016 at 8:23 AM, Christophe Milard > <christophe.mil...@linaro.org> wrote: > > Since V2: > > -function odp_load_driver removed. replaced by config file. (Petri, FF) > > -configuration file "odp.conf" added. Configuration file is: > > 1) as specified in env variable ODP_SYSCONFIG_FILE (which can be > "none"). > > 2) ./odp.conf > > 3) $(prefix)/etc/odp.conf > > -test removed: will be sent in a separate patch as many questions > remains. > > -All libdl tests removed: libdl is assumed to always be on linux (Maxim) > > > > Since V1: > > -enum names prefixed by ODPDRV (Yi) > > -better commit message for last patch (Christophe) > > -typo fix (Christophe) > > > > This patch series puts the driver initialisation framework in place: > > Loadable modules (*.so) are given in the odp.conf file added here. > > Once loaded, the drivers init function (declared as __constructor__) > > calls the ODP odp_driver_register() intialialisation function which, > > at this stage does nothing (just print an error message). > > odp_driver_register() is of course part of the driver interface (south). > > > > Christophe Milard (5): > > drv: adding driver registration interface (stub) > > linux-gen: adding enum, devio and driver registration interface (stub) > > linux-gen: init: adding configuration file parsing > > test: preventing odp.conf loading for tests > > linux-gen: drv_drivers: loading modules from config file > > > > DEPENDENCIES | 2 +- > > configure.ac | 4 +- > > include/odp/drv/spec/driver.h | 311 > ++++++++++++++++++++++++ > > include/odp_drv.h | 1 + > > platform/Makefile.inc | 1 + > > platform/linux-generic/Makefile.am | 3 + > > platform/linux-generic/drv_driver.c | 84 +++++++ > > platform/linux-generic/include/odp/drv/driver.h | 27 ++ > > platform/linux-generic/include/odp_internal.h | 5 + > > platform/linux-generic/m4/configure.m4 | 12 + > > platform/linux-generic/m4/odp_drivers.m4 | 11 + > > platform/linux-generic/odp_init.c | 77 ++++++ > > test/Makefile.inc | 4 +- > > 13 files changed, 538 insertions(+), 4 deletions(-) > > create mode 100644 include/odp/drv/spec/driver.h > > create mode 100644 platform/linux-generic/drv_driver.c > > create mode 100644 platform/linux-generic/include/odp/drv/driver.h > > create mode 100644 platform/linux-generic/m4/odp_drivers.m4 > > > > -- > > 2.7.4 > > >