[PATCH rtems-lwip - v1 02/11] FIX: add library search path to allow lwip being installed aside the RTEMS installation
Bernd Moessner
berndmoessner80 at gmail.com
Thu Jan 4 22:03:20 UTC 2024
On 04.01.2024 22:33, Kinsey Moore wrote:
> 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>.
>
> Kinsey
>
>
> On Thu, Jan 4, 2024 at 12:55 PM <berndmoessner80 at gmail.com> wrote:
>
> From: Bernd Moessner <berndmoessner80 at gmail.com>
>
> ---
> 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',
> --
> 2.34.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
Hmm --rtems=<PATH> works on my side now. I use
./waf configure --prefix=${RTEMS_LWIP_INSTALL_DIR}
--rtems=${RTEMS_OS_INSTALL_DIR}
--rtems-tools=${RTEMS_TOOLCHAIN_INSTALL_DIR}
--rtems-bsps=${RTEMS_BSP_ARCH}/${RTEMS_BSP_NAME}
to build the project.
Bernd
More information about the devel
mailing list