Skip to content

Commit 6749a8a

Browse files
author
Cruz Monrreal
authored
Merge pull request #8932 from orenc17/tools_fix
Fix target handling in build.py
2 parents 3d6dd46 + 4514da6 commit 6749a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
mcu = TARGET_MAP[target]
189189
profile = extract_profile(parser, options, toolchain)
190190

191-
if Target.get_target(mcu).is_PSA_secure_target:
191+
if mcu.is_PSA_secure_target:
192192
lib_build_res = build_library(
193193
ROOT, options.build_dir, mcu, toolchain,
194194
jobs=options.jobs,

0 commit comments

Comments
 (0)