Skip to content

Commit dd54f7b

Browse files
authored
Merge pull request #2868 from bridadan/copy-config-json-mbed-lib
[Tools] Copying main config json file for mbed lib builds
2 parents 4c79daf + 69448d7 commit dd54f7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/build_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,8 @@ def build_mbed_libs(target, toolchain_name, verbose=False,
912912
hal_implementation = toolchain.scan_resources(hal_src)
913913
toolchain.copy_files(hal_implementation.headers +
914914
hal_implementation.hex_files +
915-
hal_implementation.libraries,
915+
hal_implementation.libraries +
916+
[MBED_CONFIG_FILE],
916917
build_target, resources=hal_implementation)
917918
incdirs = toolchain.scan_resources(build_target).inc_dirs
918919
objects = toolchain.compile_sources(hal_implementation, tmp_path,

0 commit comments

Comments
 (0)