mirror of https://github.com/ARMmbed/mbed-os.git
Filter libs with absolute paths
as the config system uses only abspathspull/9561/head
parent
4fbbac9acd
commit
5cf07df264
|
@ -1318,7 +1318,7 @@ class Config(object):
|
||||||
ref for ref in resources.get_file_refs(FileType.JSON)
|
ref for ref in resources.get_file_refs(FileType.JSON)
|
||||||
if (
|
if (
|
||||||
not ref.name.endswith(self.__mbed_lib_config_name)
|
not ref.name.endswith(self.__mbed_lib_config_name)
|
||||||
or ref.path in all_json_paths
|
or abspath(ref.path) in all_json_paths
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
resources.filter_by_libraries(included_json_files)
|
resources.filter_by_libraries(included_json_files)
|
||||||
|
|
Loading…
Reference in New Issue