summaryrefslogtreecommitdiff
path: root/netlegacy.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-03-22 11:30:59 +1100
committerChris Johns <chrisj@rtems.org>2023-03-22 11:36:00 +1100
commite703d2d31fb06745ee53b77133fc47b9ed0e4c46 (patch)
tree5bb2fca4ca9df8b5aa24a160c6630f798b8a61ad /netlegacy.py
parent29a9ede96ae9c3b512527fabacbb5e7be8175a58 (diff)
includes: Update to use the latest networking headers
- Add support for BSP configs and options if we need them Closes #4882
Diffstat (limited to 'netlegacy.py')
-rw-r--r--netlegacy.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/netlegacy.py b/netlegacy.py
index ebab745..981fd4a 100644
--- a/netlegacy.py
+++ b/netlegacy.py
@@ -46,15 +46,25 @@ for root, dirs, files in os.walk("."):
if ext == '.h' and name not in exclude_headers:
include_files[root[2:]].append(os.path.join(root, name))
+
def find_node(bld, *paths):
path = os.path.join(*paths)
return os.path.relpath(str(bld.path.find_node(path)))
+
def install_file_list(*paths):
path = os.path.join(*paths)
file_list = [os.path.join(path, f) for f in os.listdir(path)]
return file_list
+def options(opt):
+ pass
+
+
+def bsp_configure(conf, arch_bsp, mandatory = True):
+ pass
+
+
def build(bld):
include_path = []
ip = ''
@@ -107,6 +117,7 @@ def build(bld):
bld(target='network_objects',
features='c',
includes=ip,
+ defines=['IN_HISTORICAL_NETS=1'],
source=source_files)
bld(target='networking',