Re: [PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries
On Mon, Mar 29, 2021 at 10:09 AM Gedare Bloom wrote: > > On Mon, Mar 29, 2021 at 9:20 AM Vijay Kumar Banerjee wrote: > > > > Hi, > > > > Is this OK to push? This only affects lvgl. > > > You're a maintainer of lvgl repo, so you can make that decision yourself ;) > Thanks. Pushed this. :) > > Best regards, > > Vijay > > > > On Fri, Mar 26, 2021 at 2:47 PM Vijay Kumar Banerjee > > wrote: > > > > > > --- > > > lvgl/wscript | 12 ++-- > > > 1 file changed, 10 insertions(+), 2 deletions(-) > > > > > > diff --git a/lvgl/wscript b/lvgl/wscript > > > index 064ebed..281af25 100644 > > > --- a/lvgl/wscript > > > +++ b/lvgl/wscript > > > @@ -5,11 +5,19 @@ > > > > > > import rtems_waf.rtems as rtems > > > import rtems_waf.rtems_bsd as rtems_bsd > > > +import os > > > > > > def configure(conf): > > > +arch_lib_path = rtems.arch_bsp_lib_path(str(conf.env.RTEMS_VERSION), > > > + > > > str(conf.env.RTEMS_ARCH_BSP)) > > > +arch_lib_path = os.path.join(conf.env.PREFIX, arch_lib_path) > > > rtems.check_lib_path(conf, lib = 'm') > > > -rtems.check_lib_path(conf, lib = 'lvgl', mandatory = False) > > > -rtems.check_lib_path(conf, lib = 'bsd', mandatory = False) > > > +rtems.check_lib_path(conf, lib = 'lvgl', > > > + libpath = [arch_lib_path], > > > + mandatory = False) > > > +rtems.check_lib_path(conf, lib = 'bsd', > > > + libpath = [arch_lib_path], > > > + mandatory = False) > > > > > > def build(bld): > > > bld.recurse('hello') > > > -- > > > 2.26.2 > > > > > ___ > > devel mailing list > > devel@rtems.org > > http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries
On Mon, Mar 29, 2021 at 9:20 AM Vijay Kumar Banerjee wrote: > > Hi, > > Is this OK to push? This only affects lvgl. > You're a maintainer of lvgl repo, so you can make that decision yourself ;) > Best regards, > Vijay > > On Fri, Mar 26, 2021 at 2:47 PM Vijay Kumar Banerjee wrote: > > > > --- > > lvgl/wscript | 12 ++-- > > 1 file changed, 10 insertions(+), 2 deletions(-) > > > > diff --git a/lvgl/wscript b/lvgl/wscript > > index 064ebed..281af25 100644 > > --- a/lvgl/wscript > > +++ b/lvgl/wscript > > @@ -5,11 +5,19 @@ > > > > import rtems_waf.rtems as rtems > > import rtems_waf.rtems_bsd as rtems_bsd > > +import os > > > > def configure(conf): > > +arch_lib_path = rtems.arch_bsp_lib_path(str(conf.env.RTEMS_VERSION), > > + > > str(conf.env.RTEMS_ARCH_BSP)) > > +arch_lib_path = os.path.join(conf.env.PREFIX, arch_lib_path) > > rtems.check_lib_path(conf, lib = 'm') > > -rtems.check_lib_path(conf, lib = 'lvgl', mandatory = False) > > -rtems.check_lib_path(conf, lib = 'bsd', mandatory = False) > > +rtems.check_lib_path(conf, lib = 'lvgl', > > + libpath = [arch_lib_path], > > + mandatory = False) > > +rtems.check_lib_path(conf, lib = 'bsd', > > + libpath = [arch_lib_path], > > + mandatory = False) > > > > def build(bld): > > bld.recurse('hello') > > -- > > 2.26.2 > > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries
Hi, Is this OK to push? This only affects lvgl. Best regards, Vijay On Fri, Mar 26, 2021 at 2:47 PM Vijay Kumar Banerjee wrote: > > --- > lvgl/wscript | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/lvgl/wscript b/lvgl/wscript > index 064ebed..281af25 100644 > --- a/lvgl/wscript > +++ b/lvgl/wscript > @@ -5,11 +5,19 @@ > > import rtems_waf.rtems as rtems > import rtems_waf.rtems_bsd as rtems_bsd > +import os > > def configure(conf): > +arch_lib_path = rtems.arch_bsp_lib_path(str(conf.env.RTEMS_VERSION), > +str(conf.env.RTEMS_ARCH_BSP)) > +arch_lib_path = os.path.join(conf.env.PREFIX, arch_lib_path) > rtems.check_lib_path(conf, lib = 'm') > -rtems.check_lib_path(conf, lib = 'lvgl', mandatory = False) > -rtems.check_lib_path(conf, lib = 'bsd', mandatory = False) > +rtems.check_lib_path(conf, lib = 'lvgl', > + libpath = [arch_lib_path], > + mandatory = False) > +rtems.check_lib_path(conf, lib = 'bsd', > + libpath = [arch_lib_path], > + mandatory = False) > > def build(bld): > bld.recurse('hello') > -- > 2.26.2 > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries
--- lvgl/wscript | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lvgl/wscript b/lvgl/wscript index 064ebed..281af25 100644 --- a/lvgl/wscript +++ b/lvgl/wscript @@ -5,11 +5,19 @@ import rtems_waf.rtems as rtems import rtems_waf.rtems_bsd as rtems_bsd +import os def configure(conf): +arch_lib_path = rtems.arch_bsp_lib_path(str(conf.env.RTEMS_VERSION), +str(conf.env.RTEMS_ARCH_BSP)) +arch_lib_path = os.path.join(conf.env.PREFIX, arch_lib_path) rtems.check_lib_path(conf, lib = 'm') -rtems.check_lib_path(conf, lib = 'lvgl', mandatory = False) -rtems.check_lib_path(conf, lib = 'bsd', mandatory = False) +rtems.check_lib_path(conf, lib = 'lvgl', + libpath = [arch_lib_path], + mandatory = False) +rtems.check_lib_path(conf, lib = 'bsd', + libpath = [arch_lib_path], + mandatory = False) def build(bld): bld.recurse('hello') -- 2.26.2 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel