[PATCH v2 rtems_littlevgl 1/3] waf: Remove unnecessary code.
Christian Mauderer
christian.mauderer at embedded-brains.de
Tue Mar 17 07:18:34 UTC 2020
---
lvgl.py | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/lvgl.py b/lvgl.py
index 5452ed0..f275287 100644
--- a/lvgl.py
+++ b/lvgl.py
@@ -68,26 +68,17 @@ def build(bld):
sources, includes = source_list(bld)
includes.append('.')
- objects = []
include_paths = []
for source in sources:
- objects.append(source[:-1] + 'o')
source_dir = os.path.dirname(source)
if source_dir not in include_paths:
include_paths.append(source_dir)
- bld.objects(target = objects,
- features = 'c',
- cflags = '-O2',
- includes = includes,
- source = source)
-
bld.stlib(target = 'lvgl',
features = 'c',
includes = includes,
- source = sources,
- use = objects)
+ source = sources)
arch_lib_path = rtems.arch_bsp_lib_path(bld.env.RTEMS_VERSION,
bld.env.RTEMS_ARCH_BSP)
--
2.16.4
More information about the devel
mailing list