zephyr/subsys/demand_paging/backing_store/CMakeLists.txt
Andrew Boie b0d608e3c9 demand_paging: add RAM-based demo backing store
Will be used by QEMU targets for testing purposes.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2021-01-23 19:47:23 -05:00

15 lines
344 B
CMake

# Copyright (c) 2020 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
add_definitions(-D__ZEPHYR_SUPERVISOR__)
include_directories(
${ZEPHYR_BASE}/kernel/include
${ARCH_DIR}/${ARCH}/include
)
if(NOT DEFINED CONFIG_BACKING_STORE_CUSTOM)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_BACKING_STORE_RAM ram.c)
endif()