[PATCH 4/5] build: Rename TOPGROUP in TOPGROUP_UID

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 26 08:04:02 UTC 2023


This makes it more obvious that this is an item UID.
---
 wscript | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wscript b/wscript
index 143ee722e2..cb5674b5b9 100755
--- a/wscript
+++ b/wscript
@@ -1511,12 +1511,12 @@ def configure_variant(conf, cp, bsp_map, path_list, top_group, variant):
     ]
 
     conf.env["TOP"] = conf.path.abspath()
-    conf.env["TOPGROUP"] = top_group
+    conf.env["TOPGROUP_UID"] = top_group
     conf.env["VARIANT"] = variant
 
     prepare_rtems_options(conf)
     cic = ConfigItemContext(cp, path_list)
-    items[conf.env.TOPGROUP].configure(conf, cic)
+    items[conf.env.TOPGROUP_UID].configure(conf, cic)
     bsp_item.configure(conf, cic)
 
     options = set([o[0].upper() for o in cp.items(variant)])
@@ -1640,7 +1640,7 @@ def build(bld):
     bic = BuildItemContext(bld.env.ARCH_INCLUDES.split(), [], [], [], [], [],
                            [])
     bsps[bld.env.ARCH][bld.env.BSP_BASE].build(bld, bic)
-    items[bld.env.TOPGROUP].build(bld, bic)
+    items[bld.env.TOPGROUP_UID].build(bld, bic)
 
 
 def add_log_filter(name):
-- 
2.35.3



More information about the devel mailing list