summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-04-13 23:48:29 -0600
committerVijay Kumar Banerjee <vijay@rtems.org>2021-04-16 09:49:34 -0600
commitb157409f62c20d5034efe47e438223995077ebc3 (patch)
treeed7b1bb2c1bb2238856ce52cfb3700a52562de66
parentnetlegacy: Use os.path instead of hardcoded Unix like path (diff)
downloadrtems-net-legacy-b157409f62c20d5034efe47e438223995077ebc3.tar.bz2
netlegacy: Remove telnetd build
-rw-r--r--netlegacy.py9
-rw-r--r--testsuites/telnetd01/wscript5
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'],