| # Copyright lowRISC contributors. | 
 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. | 
 | # SPDX-License-Identifier: Apache-2.0 | 
 |  | 
 | # Setup for building OTBN assembly. OTBN software is build with a separate | 
 | # toolchain, which is called as an external target from Meson in | 
 | # subdirectories. | 
 |  | 
 | prog_otbn_build = meson.source_root() / 'util/otbn_build.py' | 
 |  | 
 | otbn_build_command = [ | 
 |   prog_env, | 
 |   'OTBN_AS=@0@'.format(prog_otbn_as), | 
 |   'OTBN_LD=@0@'.format(prog_otbn_ld), | 
 |   'RV32_TOOL_OBJCOPY=@0@'.format(prog_objcopy.path()), | 
 |   'RV32_TOOL_AS=@0@'.format(prog_as.path()), | 
 |   'RV32_TOOL_LD=@0@'.format(prog_ld.path()), | 
 |   prog_python, | 
 |   prog_otbn_build, | 
 |   '--out-dir', | 
 |   '@OUTDIR@', | 
 |   '@INPUT@', | 
 | ] | 
 | otbn_build_depend_files = [ | 
 |   prog_otbn_as, | 
 |   prog_otbn_ld, | 
 |   prog_objcopy.path(), | 
 |   prog_as.path(), | 
 |   prog_ld.path(), | 
 |   prog_otbn_build, | 
 | ] | 
 |  | 
 | subdir('ecdsa_p256') | 
 | subdir('rsa_3072') | 
 | subdir('tests') |