[rtems-littlevgl commit] waf: Remove unnecessary code.

Christian Mauderer christianm at rtems.org
Fri Mar 20 06:24:05 UTC 2020


Module:    rtems-littlevgl
Branch:    master
Commit:    5ee52b3857b842316eaaa48f404e5e3ba2fee1f0
Changeset: http://git.rtems.org/rtems-littlevgl/commit/?id=5ee52b3857b842316eaaa48f404e5e3ba2fee1f0

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Tue Mar 17 08:18:34 2020 +0100

waf: Remove unnecessary code.

---

 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)



More information about the vc mailing list