| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| foreach device_name, device_lib : sw_lib_arch_core_devices |
| aes_serial_elf = executable( |
| 'aes_serial_' + device_name, |
| sources: ['aes_serial.c'], |
| aes_serial_embedded = custom_target( |
| 'aes_serial_' + device_name, |
| command: make_embedded_target, |
| output: make_embedded_target_outputs, |
| 'aes_serial_export_' + device_name, |
| command: export_embedded_target, |
| input: [aes_serial_elf, aes_serial_embedded], |
| output: 'aes_serial_export_' + device_name, |
| build_always_stale: true, |