diff options
author | Vijay Kumar Banerjee <vijay@rtems.org> | 2021-02-24 11:21:42 -0700 |
---|---|---|
committer | Vijay Kumar Banerjee <vijay@rtems.org> | 2021-03-02 14:25:24 -0700 |
commit | 2758ba07badfe41caab78f37ee2fddd368c58a85 (patch) | |
tree | b1a031656d683954c1ed5c754018aab69914b248 /lnetworking.py | |
parent | Add wscript (diff) | |
download | rtems-net-legacy-2758ba07badfe41caab78f37ee2fddd368c58a85.tar.bz2 |
Add pppd from RTEMS
Diffstat (limited to 'lnetworking.py')
-rw-r--r-- | lnetworking.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lnetworking.py b/lnetworking.py index 490a4b5..8041a93 100644 --- a/lnetworking.py +++ b/lnetworking.py @@ -28,12 +28,13 @@ from rtems_waf import rtems import os source_files = [] include_files = [] +exclude_dirs = ['pppd'] + for root, dirs, files in os.walk("."): + [dirs.remove(d) for d in list(dirs) if d in exclude_dirs] for name in files: if name[-2:] == '.c': source_files.append(os.path.join(root, name)) - elif name[-2:] == '.h' and root[2:] not in include_files: - include_files.append(root[2:]) def build(bld): include_path = ['./', os.path.relpath(bld.env.PREFIX)] |