Gyorgy Szing | 386433f | 2023-03-31 12:52:25 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2023, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | # Lists components that provide an infrastructure layer for the block-storage |
| 7 | # service provider that uses a ram-backed block store, partitioned by default |
| 8 | # using the 'ref' configuration. This infrastructure is intended for test |
| 9 | # purposes. |
| 10 | #------------------------------------------------------------------------------- |
| 11 | if (NOT DEFINED TGT) |
| 12 | message(FATAL_ERROR "Mandatory parameter TGT is not defined.") |
| 13 | endif() |
| 14 | |
| 15 | #------------------------------------------------------------------------------- |
| 16 | # Infrastructure components |
| 17 | # |
| 18 | #------------------------------------------------------------------------------- |
| 19 | add_components(TARGET ${TGT} |
| 20 | BASE_DIR ${TS_ROOT} |
| 21 | COMPONENTS |
| 22 | "components/media/disk" |
| 23 | "components/media/volume" |
| 24 | "components/media/volume/base_io_dev" |
| 25 | "components/media/volume/block_volume" |
| 26 | "components/media/volume/factory/single_flash" |
| 27 | "components/service/block_storage/block_store" |
| 28 | "components/service/block_storage/block_store/device" |
| 29 | "components/service/block_storage/block_store/device/file" |
| 30 | "components/service/block_storage/block_store/partitioned" |
| 31 | "components/service/block_storage/factory/file" |
| 32 | "components/service/block_storage/config/gpt" |
| 33 | ) |