blob: e9637ad7f3098b720ad8e560d78197f167aaae33 [file] [log] [blame]
Julian Hall82ce62a2022-09-13 09:00:45 +01001#-------------------------------------------------------------------------------
Julian Hall4a658ac2022-10-20 10:44:49 +01002# Copyright (c) 2022-2023, Arm Limited and Contributors. All rights reserved.
Julian Hall82ce62a2022-09-13 09:00:45 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# A block-storage infrastructure for use on virtual platforms where storage
7# is provided by file residing in the host's filesystem. If the file contains
8# a GPT, it will be used to configure storage partitions.
9#-------------------------------------------------------------------------------
10
11#-------------------------------------------------------------------------------
12# Infrastructure components
13#
14#-------------------------------------------------------------------------------
15add_components(TARGET "block-storage"
16 BASE_DIR ${TS_ROOT}
17 COMPONENTS
18 "components/service/block_storage/block_store/device"
19 "components/service/block_storage/block_store/device/semihosting"
20 "components/service/block_storage/block_store/partitioned"
21 "components/service/block_storage/factory/semihosting"
Julian Hallfa2c86d2022-09-30 12:17:14 +010022 "components/service/block_storage/config/gpt"
23 "components/media/disk"
Julian Hall4a658ac2022-10-20 10:44:49 +010024 "components/media/volume"
Julian Hallfa2c86d2022-09-30 12:17:14 +010025 "components/media/volume/index"
26 "components/media/volume/base_io_dev"
Julian Hall4a658ac2022-10-20 10:44:49 +010027 "components/media/volume/block_volume"
Julian Hall82ce62a2022-09-13 09:00:45 +010028)
29
30#-------------------------------------------------------------------------------
31# This infrastructure depends on platform specific drivers
32#
33#-------------------------------------------------------------------------------
Balint Dobszay550ce872022-12-15 15:28:40 +010034add_platform(TARGET "block-storage")