<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>This looks like it should be fine for now to enable installing into somewhere that isn't the installed BSP directory. Longer term, rtems-lwip should probably support similar options to rtems-libbsd such that the RTEMS path can be passed on the configure line using --rtems=<PATH>.</div><div><br></div><div>Kinsey<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 4, 2024 at 12:55 PM <<a href="mailto:berndmoessner80@gmail.com">berndmoessner80@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Bernd Moessner <<a href="mailto:berndmoessner80@gmail.com" target="_blank">berndmoessner80@gmail.com</a>><br>
<br>
---<br>
 lwip.py | 7 ++++---<br>
 1 file changed, 4 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/lwip.py b/lwip.py<br>
index bd743a1..65f1ead 100644<br>
--- a/lwip.py<br>
+++ b/lwip.py<br>
@@ -137,9 +137,10 @@ def build(bld):<br>
                 includes=' '.join(test_app_incl))<br>
<br>
     lib_path = os.path.join(bld.env.PREFIX, arch_lib_path)<br>
-    bld.read_stlib('telnetd', paths=[lib_path])<br>
-    bld.read_stlib('rtemstest', paths=[lib_path])<br>
-    bld.read_stlib('ftpd', paths=[lib_path])<br>
+    rtems_lib_path = os.path.join(bld.env.RTEMS_PATH, arch_lib_path)<br>
+    bld.read_stlib('telnetd', paths=[lib_path, rtems_lib_path])<br>
+    bld.read_stlib('rtemstest', paths=[lib_path, rtems_lib_path])<br>
+    bld.read_stlib('ftpd', paths=[lib_path, rtems_lib_path])<br>
<br>
     bld.program(features='c',<br>
                 target='telnetd01.exe',<br>
-- <br>
2.34.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>