diff options
author | Chris Johns <chrisj@rtems.org> | 2023-03-27 16:25:19 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-03-27 16:47:29 +1100 |
commit | 5cd6d2df5cc1fef3b6bf272c56f6488cb1b2e847 (patch) | |
tree | 9ee1aa5a6c8c931e7bdf4901d0b2bc9be47ecec6 /testsuites/ftp01/wscript | |
parent | waf: Reformat to the PEP 8 coding style (diff) | |
download | rtems-net-legacy-5cd6d2df5cc1fef3b6bf272c56f6488cb1b2e847.tar.bz2 |
waf: List all source built and installed
- Remove scanning the file system for files to build and install.
- Install list checked against an RTEMS 5.3 networking build.
Closes #4887
Diffstat (limited to 'testsuites/ftp01/wscript')
-rw-r--r-- | testsuites/ftp01/wscript | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/testsuites/ftp01/wscript b/testsuites/ftp01/wscript index 200138e..550b0b5 100644 --- a/testsuites/ftp01/wscript +++ b/testsuites/ftp01/wscript @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from rtems_waf import rtems -import os def init(ctx): @@ -39,15 +38,12 @@ 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('ftpfs', paths=[lib_path]) - bld.read_stlib('ftpd', paths=[lib_path]) - + source = ['init.c'] bld.program(target='ftp01.exe', features='c cprogram', - cflags=['-O2', '-g'], - includes='. .. ../include ../../', - use=['ftpfs', 'ftpd', 'networking'], - source='init.c') + cflags=bld.env.OPTIMIZATION + ['-g'], + includes=bld.env.IFLAGS, + lib=['ftpfs', 'ftpd', 'networking'], + libpath=['.'], + source=source, + install_path=False) |