diff options
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"]) |