diff options
author | Vijay Kumar Banerjee <vijay@rtems.org> | 2021-02-26 23:23:01 -0700 |
---|---|---|
committer | Vijay Kumar Banerjee <vijay@rtems.org> | 2021-03-02 14:32:11 -0700 |
commit | ce0e234bbd491763c6b1d26d422a694c066e45f8 (patch) | |
tree | 03cd018cee067bc5b3b8215ba3744d77fb64d4a5 /netlegacy.py | |
parent | bsp_driver, wscript: Format according to PEP8 style guide (diff) | |
download | rtems-net-legacy-ce0e234bbd491763c6b1d26d422a694c066e45f8.tar.bz2 |
pppd: Remove wscript
Build from netlegacy.py to make libpppd.a accessible to the tests
Diffstat (limited to 'netlegacy.py')
-rw-r--r-- | netlegacy.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/netlegacy.py b/netlegacy.py index 559fa17..91cbedd 100644 --- a/netlegacy.py +++ b/netlegacy.py @@ -55,10 +55,13 @@ def build(bld): include_path = [] ip = '' bsp = bld.env.RTEMS_ARCH_BSP.split('-')[-1] + pppd_source = [os.path.join('./pppd', s) + for s in os.listdir('./pppd') if s[-2:] == '.c'] bsp_dirs, bsp_sources = bsp_drivers.bsp_files(bld) include_path.extend(['.', + './include', os.path.relpath(bld.env.PREFIX), './testsuites/include', os.path.relpath(os.path.join(bld.env.PREFIX, @@ -101,6 +104,11 @@ def build(bld): includes=ip, use='networking', source=test_source) + bld.stlib(target='pppd', + features='c', + includes=ip, + use='networking', + source=pppd_source) bld.install_files(os.path.join('${PREFIX}', arch_lib_path), ["libnetworking.a"]) |