[rtems-lwip commit] lwip.py: Remove redundant system includes

Joel Sherrill joel at rtems.org
Wed Nov 2 14:16:57 UTC 2022


Module:    rtems-lwip
Branch:    master
Commit:    1b1d85bad6cae3459f2b816dfcf4d2c9553f31c8
Changeset: http://git.rtems.org/rtems-lwip/commit/?id=1b1d85bad6cae3459f2b816dfcf4d2c9553f31c8

Author:    Kinsey Moore <kinsey.moore at oarcorp.com>
Date:      Thu Oct 27 16:21:47 2022 -0500

lwip.py: Remove redundant system includes

These includes are already provided in the build by the pkgconfig (.pc)
from the installed BSP.

---

 lwip.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lwip.py b/lwip.py
index e6580eb..23ffccf 100644
--- a/lwip.py
+++ b/lwip.py
@@ -166,9 +166,6 @@ def build(bld):
     drv_obj_incl = []
     drv_obj_incl.extend(drv_incl)
     drv_obj_incl.extend(common_includes)
-    drv_obj_incl.append(os.path.relpath(
-        os.path.join(bld.env.PREFIX, arch_lib_path, 'include')
-    ))
 
     bld(features='c',
         target='driver_obj',
@@ -203,9 +200,6 @@ def build(bld):
     test_app_incl.extend(drv_incl)
     test_app_incl.extend(common_includes)
     test_app_incl.append('rtemslwip/test/')
-    test_app_incl.append(
-        os.path.relpath(os.path.join(arch_lib_path, 'include'))
-    )
     bld.program(features='c',
                 target='networking01.exe',
                 source='rtemslwip/test/networking01/sample_app.c',



More information about the vc mailing list