blob: c58e7e5eb84623dc4902842ef9d20985c9a1f6c7 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# A block-storage infrastructure for use on virtual platforms where storage
# is provided by file residing in the host's filesystem. If the file contains
# a GPT, it will be used to configure storage partitions.
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Infrastructure components
#
#-------------------------------------------------------------------------------
add_components(TARGET "block-storage"
BASE_DIR ${TS_ROOT}
COMPONENTS
"components/service/block_storage/block_store/device"
"components/service/block_storage/block_store/device/semihosting"
"components/service/block_storage/block_store/partitioned"
"components/service/block_storage/factory/semihosting"
"components/service/block_storage/config/gpt"
"components/media/disk"
"components/media/volume/index"
"components/media/volume/base_io_dev"
"components/media/volume/block_io_dev"
"components/common/crc32/native"
)
#-------------------------------------------------------------------------------
# This infrastructure depends on platform specific drivers
#
#-------------------------------------------------------------------------------
add_platform(TARGET "block-storage")