Merge "Fix: print namespace variable names, too."

This commit is contained in:
Treehugger Robot
2021-09-01 20:34:51 +00:00
committed by Gerrit Code Review

View File

@@ -82,7 +82,7 @@ def _printvars(globals, cfg):
# Define SOONG_CONFIG_<ns> for Make, othewise
# it cannot be added to .KATI_READONLY list
if _options.format == "make":
print("SOONG_CONFIG_" + nsname, ":=")
print("SOONG_CONFIG_" + nsname, ":=", " ".join(nsvars.keys()))
for var, val in sorted(nsvars.items()):
__print_attr("SOONG_CONFIG_%s_%s" % (nsname, var), val)
elif attr not in _globals_base: