summaryrefslogtreecommitdiffstats
path: root/lvgl/wscript
blob: 89928785141682338b2e237328a79b243f4e2b84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2019 Vijay Kumar Banerjee (vijaykumar9597@gmail.com)
#
# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
#

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',
                         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')
    bld.recurse('gui')