Skip to content

Commit 4514da6

Browse files
orenc17Oren Cohen
authored andcommitted
Fix target handling in build.ppy
1 parent f8e1116 commit 4514da6

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)