|
42 | 42 | MBED_CONFIG_FILE, MBED_LIBRARIES_DRIVERS, |
43 | 43 | MBED_LIBRARIES_PLATFORM, MBED_LIBRARIES_HAL, |
44 | 44 | BUILD_DIR) |
45 | | -from .resources import Resources, FileType, FileRef, PsaManifestResourceFilter |
| 45 | +from .resources import Resources, FileType, FileRef |
46 | 46 | from .notifier.mock import MockNotifier |
47 | 47 | from .targets import TARGET_NAMES, TARGET_MAP, CORE_ARCH, Target |
48 | 48 | from .libraries import Library |
@@ -422,7 +422,6 @@ def get_mbed_official_release(version): |
422 | 422 | ) for target in TARGET_NAMES \ |
423 | 423 | if (hasattr(TARGET_MAP[target], 'release_versions') |
424 | 424 | and version in TARGET_MAP[target].release_versions) |
425 | | - and not Target.get_target(target).is_PSA_secure_target |
426 | 425 | ) |
427 | 426 | ) |
428 | 427 |
|
@@ -624,11 +623,7 @@ def build_project(src_paths, build_path, target, toolchain_name, |
624 | 623 | into_dir, extra_artifacts = toolchain.config.deliver_into() |
625 | 624 | if into_dir: |
626 | 625 | copy_when_different(res[0], into_dir) |
627 | | - if not extra_artifacts: |
628 | | - if toolchain.target.is_TrustZone_secure_target: |
629 | | - cmse_lib = join(dirname(res[0]), "cmse_lib.o") |
630 | | - copy_when_different(cmse_lib, into_dir) |
631 | | - else: |
| 626 | + if extra_artifacts: |
632 | 627 | for tc, art in extra_artifacts: |
633 | 628 | if toolchain_name == tc: |
634 | 629 | copy_when_different(join(build_path, art), into_dir) |
@@ -774,7 +769,6 @@ def build_library(src_paths, build_path, target, toolchain_name, |
774 | 769 | res = Resources(notify).scan_with_toolchain( |
775 | 770 | src_paths, toolchain, dependencies_paths, inc_dirs=inc_dirs) |
776 | 771 | res.filter(resource_filter) |
777 | | - res.filter(PsaManifestResourceFilter()) |
778 | 772 |
|
779 | 773 | # Copy headers, objects and static libraries - all files needed for |
780 | 774 | # static lib |
|
0 commit comments