Fix target handling in build.ppy

pull/8932/head
Oren Cohen 2018-12-01 15:18:45 +02:00 committed by Oren Cohen
parent f8e1116019
commit 4514da6db3
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ if __name__ == '__main__':
mcu = TARGET_MAP[target]
profile = extract_profile(parser, options, toolchain)
if Target.get_target(mcu).is_PSA_secure_target:
if mcu.is_PSA_secure_target:
lib_build_res = build_library(
ROOT, options.build_dir, mcu, toolchain,
jobs=options.jobs,