Skip to content

Commit d65e7bf

Browse files
committed
Added copying of library files.
1 parent f7115d3 commit d65e7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspace_tools/build_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def build_mbed_libs(target, toolchain_name, options=None, verbose=False, clean=F
234234
# Target specific sources
235235
HAL_SRC = join(MBED_TARGETS_PATH, "hal")
236236
hal_implementation = toolchain.scan_resources(HAL_SRC)
237-
toolchain.copy_files(hal_implementation.headers + hal_implementation.hex_files, BUILD_TARGET, HAL_SRC)
237+
toolchain.copy_files(hal_implementation.headers + hal_implementation.hex_files + hal_implementation.libraries, BUILD_TARGET, HAL_SRC)
238238
incdirs = toolchain.scan_resources(BUILD_TARGET).inc_dirs
239239
objects = toolchain.compile_sources(hal_implementation, TMP_PATH, [MBED_LIBRARIES] + incdirs)
240240

0 commit comments

Comments
 (0)