Skip to content

Commit 7a6f2e4

Browse files
committed
Use passed in target data everywhere when doing lib config
1 parent 5b83f21 commit 7a6f2e4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tools/config/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -864,14 +864,13 @@ def get_lib_config_data(self, target_data):
864864
865865
Arguments: None
866866
"""
867-
all_params, macros = {}, {}
867+
macros = {}
868868
for lib_name, lib_data in self.lib_config_data.items():
869-
all_params.update(self._process_config_and_overrides(lib_data, target_data,
870-
lib_name,
871-
"library"))
869+
self._process_config_and_overrides(
870+
lib_data, target_data, lib_name, "library")
872871
_process_macros(lib_data.get("macros", []), macros, lib_name,
873872
"library")
874-
return all_params, macros
873+
return target_data, macros
875874

876875
def get_app_config_data(self, params, macros):
877876
""" Read and interpret the configuration data defined by the target. The

0 commit comments

Comments
 (0)