[rtems-lwip commit] lwip.py: Allow install target other than BSP
Joel Sherrill
joel at rtems.org
Fri Jan 5 17:29:47 UTC 2024
Module: rtems-lwip
Branch: master
Commit: e532eaf865e267f2d377851cb6de62e3db297916
Changeset: http://git.rtems.org/rtems-lwip/commit/?id=e532eaf865e267f2d377851cb6de62e3db297916
Author: Bernd Moessner <berndmoessner80 at gmail.com>
Date: Wed Jan 3 19:09:51 2024 +0100
lwip.py: Allow install target other than BSP
Add library search path to allow lwip being installed in a location
other than the installed RTEMS BSP.
---
lwip.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lwip.py b/lwip.py
index bd743a1..65f1ead 100644
--- a/lwip.py
+++ b/lwip.py
@@ -137,9 +137,10 @@ def build(bld):
includes=' '.join(test_app_incl))
lib_path = os.path.join(bld.env.PREFIX, arch_lib_path)
- bld.read_stlib('telnetd', paths=[lib_path])
- bld.read_stlib('rtemstest', paths=[lib_path])
- bld.read_stlib('ftpd', paths=[lib_path])
+ rtems_lib_path = os.path.join(bld.env.RTEMS_PATH, arch_lib_path)
+ bld.read_stlib('telnetd', paths=[lib_path, rtems_lib_path])
+ bld.read_stlib('rtemstest', paths=[lib_path, rtems_lib_path])
+ bld.read_stlib('ftpd', paths=[lib_path, rtems_lib_path])
bld.program(features='c',
target='telnetd01.exe',
More information about the vc
mailing list