Merge pull request #2868 from bridadan/copy-config-json-mbed-lib

[Tools] Copying main config json file for mbed lib builds
pull/2859/head
Sam Grove 2016-09-30 15:03:38 -05:00 committed by GitHub
commit dd54f7bf43
1 changed files with 2 additions and 1 deletions

View File

@ -912,7 +912,8 @@ def build_mbed_libs(target, toolchain_name, verbose=False,
hal_implementation = toolchain.scan_resources(hal_src)
toolchain.copy_files(hal_implementation.headers +
hal_implementation.hex_files +
hal_implementation.libraries,
hal_implementation.libraries +
[MBED_CONFIG_FILE],
build_target, resources=hal_implementation)
incdirs = toolchain.scan_resources(build_target).inc_dirs
objects = toolchain.compile_sources(hal_implementation, tmp_path,