Gyorgy Szing | 30fa987 | 2017-12-05 01:08:47 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Mate Toth-Pal | 65c935e | 2018-01-17 18:42:13 +0100 | [diff] [blame] | 2 | # Copyright (c) 2017-2018, Arm Limited. All rights reserved. |
Gyorgy Szing | 30fa987 | 2017-12-05 01:08:47 +0000 | [diff] [blame] | 3 | # |
| 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-Pal | 65c935e | 2018-01-17 18:42:13 +0100 | [diff] [blame] | 9 | |
Mate Toth-Pal | 48fc6a0 | 2018-01-24 09:50:14 +0100 | [diff] [blame^] | 10 | #Include board specific config (CPU, etc...), select platform specific build |
| 11 | #system settings file |
| 12 | if(NOT DEFINED TARGET_PLATFORM) |
| 13 | message(FATAL_ERROR "ERROR: TARGET_PLATFORM is not set in command line") |
| 14 | elseif(${TARGET_PLATFORM} STREQUAL "AN521") |
| 15 | set(PLATFORM_CMAKE_FILE "${CMAKE_CURRENT_LIST_DIR}/platform/ext/Mps2AN521.cmake") |
| 16 | else() |
| 17 | message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.") |
Mate Toth-Pal | 65c935e | 2018-01-17 18:42:13 +0100 | [diff] [blame] | 18 | endif() |
Gyorgy Szing | 30fa987 | 2017-12-05 01:08:47 +0000 | [diff] [blame] | 19 | |
| 20 | ##These variables select how the projects are built. Each project will set |
| 21 | #various project specific settings (e.g. what files to build, macro |
| 22 | #definitions) based on these. |
| 23 | set (REGRESSION False) |
| 24 | set (CORE_TEST True) |
Tamas Ban | 581034a | 2017-12-19 19:54:37 +0000 | [diff] [blame] | 25 | set (BL2 True) |
Gyorgy Szing | 30fa987 | 2017-12-05 01:08:47 +0000 | [diff] [blame] | 26 | |
Mate Toth-Pal | 65c935e | 2018-01-17 18:42:13 +0100 | [diff] [blame] | 27 | include ("${CMAKE_CURRENT_LIST_DIR}/CommonConfig.cmake") |