Skip to content

Commit 7fadd14

Browse files
committed
Merge pull request #1034 from jeremybrodt/copylibrary
Toosl - Add copying of library files.
2 parents 96a9bd7 + d65e7bf commit 7fadd14

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)