[rtems-net-legacy PATCH 3/3] waf: Build header files before anything else

chrisj at rtems.org chrisj at rtems.org
Thu Apr 20 05:33:43 UTC 2023


From: Chris Johns <chrisj at rtems.org>

---
 netlegacy.py | 2 ++
 wscript      | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/netlegacy.py b/netlegacy.py
index 3ce54c6..c21e26c 100644
--- a/netlegacy.py
+++ b/netlegacy.py
@@ -165,6 +165,8 @@ def build(bld):
     version_header(bld)
     net_config_header(bld)
 
+    bld.add_group()
+
     cflags = bld.env.OPTIMIZATION + bld.env.WARNINGS + ['-g']
 
     if ab in bsp_drivers.source:
diff --git a/wscript b/wscript
index d41f93e..47982a8 100644
--- a/wscript
+++ b/wscript
@@ -77,5 +77,4 @@ def recurse(ctx):
 def build(bld):
     rtems.build(bld)
     netlegacy.build(bld)
-    bld.add_group()
     recurse(bld)
-- 
2.37.1



More information about the devel mailing list