ok, go ahead
On Fri, Apr 16, 2021 at 9:43 AM Vijay Kumar Banerjee <vi...@rtems.org> wrote: > > --- > netlegacy.py | 9 +-------- > testsuites/telnetd01/wscript | 5 +++++ > 2 files changed, 6 insertions(+), 8 deletions(-) > > diff --git a/netlegacy.py b/netlegacy.py > index 2936b8f..4dd9e96 100644 > --- a/netlegacy.py > +++ b/netlegacy.py > @@ -31,8 +31,7 @@ import os > > source_files = [] > include_files = {} > -exclude_dirs = ['pppd', 'nfsclient', 'testsuites', 'librpc/include', 'bsps', > - 'telnetd'] > +exclude_dirs = ['pppd', 'nfsclient', 'testsuites', os.path.join('librpc', > 'include'), 'bsps'] > exclude_headers = ['rtems-bsd-user-space.h', 'rtems-bsd-kernel-space.h'] > > for root, dirs, files in os.walk("."): > @@ -119,12 +118,6 @@ def build(bld): > use='networking', > source=pppd_source) > > - bld.stlib(target='telnetd', > - features='c', > - includes=ip, > - use='networking', > - source=telnetd_source) > - > bld.stlib(target='nfs', > features='c', > includes=ip, > diff --git a/testsuites/telnetd01/wscript b/testsuites/telnetd01/wscript > index 782c0f6..dc18737 100644 > --- a/testsuites/telnetd01/wscript > +++ b/testsuites/telnetd01/wscript > @@ -38,6 +38,11 @@ def configure(conf): > > > def build(bld): > + arch_lib_path = rtems.arch_bsp_lib_path(bld.env.RTEMS_VERSION, > + bld.env.RTEMS_ARCH_BSP) > + lib_path = os.path.join(bld.env.PREFIX, arch_lib_path) > + bld.read_stlib('telnetd', paths=[lib_path]) > + > bld.program(target='telnetd01.exe', > features='c cprogram', > cflags=['-O2', '-g'], > -- > 2.26.2 > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel