blob: 7faeafcd60f776959ce6e763576e7a7f6c0ab73b [file] [log] [blame]
Gyorgy Szing30fa9872017-12-05 01:08:47 +00001#-------------------------------------------------------------------------------
Mate Toth-Pal65c935e2018-01-17 18:42:13 +01002# Copyright (c) 2017-2018, Arm Limited. All rights reserved.
Gyorgy Szing30fa9872017-12-05 01:08:47 +00003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8#This file holds information of a specific build configuration of this project.
Mate Toth-Pal65c935e2018-01-17 18:42:13 +01009
Marc Moreno Berenguea1f296f2018-01-25 15:21:22 +000010#Select platform specific build system settings file.
11set(PLATFORM_CMAKE_FILE "${CMAKE_CURRENT_LIST_DIR}/platform/ext/Mps2AN521.cmake")
12
Gyorgy Szing30fa9872017-12-05 01:08:47 +000013#Include board specific config (CPU, etc...)
Marc Moreno Berenguea1f296f2018-01-25 15:21:22 +000014include("Common/BoardAN521")
Gyorgy Szing30fa9872017-12-05 01:08:47 +000015
16#Use any ARMCLANG version found on PATH. Note: Only versions supported by the
17#build system will work. A file cmake/Common/CompilerArmClangXY.cmake
18#must be present with a matching version.
19include("Common/FindArmClang")
Mate Toth-Pal65c935e2018-01-17 18:42:13 +010020if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/cmake/Common/${ARMCLANG_MODULE}.cmake")
Marc Moreno Berenguea1f296f2018-01-25 15:21:22 +000021 message(FATAL_ERROR "ERROR: Unsupported ARMCLANG compiler version found on PATH.")
Mate Toth-Pal65c935e2018-01-17 18:42:13 +010022endif()
Gyorgy Szing30fa9872017-12-05 01:08:47 +000023include("Common/${ARMCLANG_MODULE}")
24
25##These variables select how the projects are built. Each project will set
26#various project specific settings (e.g. what files to build, macro
27#definitions) based on these.
28set (REGRESSION False)
29set (CORE_TEST True)
Tamas Ban581034a2017-12-19 19:54:37 +000030set (BL2 True)
Gyorgy Szing30fa9872017-12-05 01:08:47 +000031
Mate Toth-Pal65c935e2018-01-17 18:42:13 +010032include ("${CMAKE_CURRENT_LIST_DIR}/CommonConfig.cmake")
Gyorgy Szing30fa9872017-12-05 01:08:47 +000033