summaryrefslogtreecommitdiffstats
path: root/lvgl
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-03-26 14:44:30 -0600
committerVijay Kumar Banerjee <vijay@rtems.org>2021-03-29 19:35:43 -0600
commitd5ba50c15c6bd188d4bb5921ae520e1066597ab1 (patch)
treee0db968e76b5592063f1246fca9297ade21ef7d3 /lvgl
parent983926a7e519be85f630c620430e7e1ac3e0f4ea (diff)
downloadrtems-examples-master.tar.bz2
lvgl/wscript: Add libpath to search for required librariesHEADmaster
Diffstat (limited to 'lvgl')
-rw-r--r--lvgl/wscript12
1 files changed, 10 insertions, 2 deletions
diff --git a/lvgl/wscript b/lvgl/wscript
index 064ebed..8992878 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(conf.env.RTEMS_VERSION,
+ 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')