summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijaykumar9597@gmail.com>2019-09-18 02:56:46 +0530
committerChris Johns <chrisj@rtems.org>2019-09-20 14:21:57 +1000
commit4c71eb2a7b742aca65eda1ab343aa1a646aea692 (patch)
tree3a422368caed1b9b09085b91c9f7f73452bd52d1 /wscript
parentupdate rtems_waf (diff)
downloadrtems-examples-4c71eb2a7b742aca65eda1ab343aa1a646aea692.tar.bz2
Add lvgl/hello: Sample Hello world app using littleVGL and libbsd
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 8 insertions, 1 deletions
diff --git a/wscript b/wscript
index 4f5705b..9af3ded 100644
--- a/wscript
+++ b/wscript
@@ -11,6 +11,7 @@ rtems_version = "5"
try:
import rtems_waf.rtems as rtems
+ import rtems_waf.rtems_bsd as rtems_bsd
except:
print('error: no rtems_waf git submodule; see README.waf')
import sys
@@ -19,11 +20,16 @@ except:
def init(ctx):
rtems.init(ctx, version = rtems_version, long_commands = True)
+def bsp_configure(conf, arch_bsp):
+ rtems_bsd.bsp_configure(conf, arch_bsp, mandatory = False)
+ conf.recurse('lvgl')
+
def options(opt):
rtems.options(opt)
+ rtems_bsd.options(opt)
def configure(conf):
- rtems.configure(conf)
+ rtems.configure(conf, bsp_configure = bsp_configure)
def build(bld):
rtems.build(bld)
@@ -42,6 +48,7 @@ def build(bld):
bld.recurse('posix_api')
bld.recurse('cxx')
bld.recurse('c11')
+ bld.recurse('lvgl')
def rebuild(ctx):
import waflib.Options