Jeenu Viswambharan | 615ff39 | 2016-10-24 14:31:51 +0100 | [diff] [blame] | 1 | # |
Jeenu Viswambharan | fca7680 | 2017-01-16 16:52:35 +0000 | [diff] [blame] | 2 | # Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. |
Jeenu Viswambharan | 615ff39 | 2016-10-24 14:31:51 +0100 | [diff] [blame] | 3 | # |
| 4 | # Redistribution and use in source and binary forms, with or without |
| 5 | # modification, are permitted provided that the following conditions are met: |
| 6 | # |
| 7 | # Redistributions of source code must retain the above copyright notice, this |
| 8 | # list of conditions and the following disclaimer. |
| 9 | # |
| 10 | # Redistributions in binary form must reproduce the above copyright notice, |
| 11 | # this list of conditions and the following disclaimer in the documentation |
| 12 | # and/or other materials provided with the distribution. |
| 13 | # |
| 14 | # Neither the name of ARM nor the names of its contributors may be used |
| 15 | # to endorse or promote products derived from this software without specific |
| 16 | # prior written permission. |
| 17 | # |
| 18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 19 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 20 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 21 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| 22 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 23 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 24 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 25 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 26 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 27 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 28 | # POSSIBILITY OF SUCH DAMAGE. |
| 29 | # |
| 30 | |
| 31 | # Default, static values for build variables, listed in alphabetic order. |
| 32 | # Dependencies between build options, if any, are handled in the top-level |
| 33 | # Makefile, after this file is included. This ensures that the former is better |
| 34 | # poised to handle dependencies, as all build variables would have a default |
| 35 | # value by then. |
| 36 | |
| 37 | # The AArch32 Secure Payload to be built as BL32 image |
| 38 | AARCH32_SP := none |
| 39 | |
| 40 | # The Target build architecture. Supported values are: aarch64, aarch32. |
| 41 | ARCH := aarch64 |
| 42 | |
| 43 | # Determine the version of ARM CCI product used in the platform. The platform |
| 44 | # port can change this value if needed. |
| 45 | ARM_CCI_PRODUCT_ID := 400 |
| 46 | |
Jeenu Viswambharan | fca7680 | 2017-01-16 16:52:35 +0000 | [diff] [blame] | 47 | # ARM Architecture major and minor versions: 8.0 by default. |
| 48 | ARM_ARCH_MAJOR := 8 |
| 49 | ARM_ARCH_MINOR := 0 |
| 50 | |
Jeenu Viswambharan | 615ff39 | 2016-10-24 14:31:51 +0100 | [diff] [blame] | 51 | # Determine the version of ARM GIC architecture to use for interrupt management |
| 52 | # in EL3. The platform port can change this value if needed. |
| 53 | ARM_GIC_ARCH := 2 |
| 54 | |
| 55 | # Flag used to indicate if ASM_ASSERTION should be enabled for the build. |
| 56 | ASM_ASSERTION := 0 |
| 57 | |
| 58 | # Base commit to perform code check on |
| 59 | BASE_COMMIT := origin/master |
| 60 | |
| 61 | # By default, consider that the platform may release several CPUs out of reset. |
| 62 | # The platform Makefile is free to override this value. |
| 63 | COLD_BOOT_SINGLE_CPU := 0 |
| 64 | |
| 65 | # For Chain of Trust |
| 66 | CREATE_KEYS := 1 |
| 67 | |
| 68 | # Build flag to include AArch32 registers in cpu context save and restore during |
| 69 | # world switch. This flag must be set to 0 for AArch64-only platforms. |
| 70 | CTX_INCLUDE_AARCH32_REGS := 1 |
| 71 | |
| 72 | # Include FP registers in cpu context |
| 73 | CTX_INCLUDE_FPREGS := 0 |
| 74 | |
| 75 | # Debug build |
| 76 | DEBUG := 0 |
| 77 | |
| 78 | # Build platform |
| 79 | DEFAULT_PLAT := fvp |
| 80 | |
| 81 | # By default, use the -pedantic option in the gcc command line |
| 82 | DISABLE_PEDANTIC := 0 |
| 83 | |
| 84 | # Flag to enable Performance Measurement Framework |
| 85 | ENABLE_PMF := 0 |
| 86 | |
| 87 | # Flag to enable PSCI STATs functionality |
| 88 | ENABLE_PSCI_STAT := 0 |
| 89 | |
| 90 | # Flag to enable runtime instrumentation using PMF |
| 91 | ENABLE_RUNTIME_INSTRUMENTATION := 0 |
| 92 | |
| 93 | # Build flag to treat usage of deprecated platform and framework APIs as error. |
| 94 | ERROR_DEPRECATED := 0 |
| 95 | |
Masahiro Yamada | 4d87eb4 | 2016-12-25 13:52:22 +0900 | [diff] [blame] | 96 | # Byte alignment that each component in FIP is aligned to |
| 97 | FIP_ALIGN := 0 |
| 98 | |
Jeenu Viswambharan | 615ff39 | 2016-10-24 14:31:51 +0100 | [diff] [blame] | 99 | # Default FIP file name |
| 100 | FIP_NAME := fip.bin |
| 101 | |
| 102 | # Default FWU_FIP file name |
| 103 | FWU_FIP_NAME := fwu_fip.bin |
| 104 | |
| 105 | # For Chain of Trust |
| 106 | GENERATE_COT := 0 |
| 107 | |
Jeenu Viswambharan | a10d64e | 2017-01-04 13:51:42 +0000 | [diff] [blame] | 108 | # Whether system coherency is managed in hardware, without explicit software |
| 109 | # operations. |
| 110 | HW_ASSISTED_COHERENCY := 0 |
| 111 | |
Jeenu Viswambharan | 615ff39 | 2016-10-24 14:31:51 +0100 | [diff] [blame] | 112 | # Flag to enable new version of image loading |
| 113 | LOAD_IMAGE_V2 := 0 |
| 114 | |
| 115 | # NS timer register save and restore |
| 116 | NS_TIMER_SWITCH := 0 |
| 117 | |
| 118 | # Build PL011 UART driver in minimal generic UART mode |
| 119 | PL011_GENERIC_UART := 0 |
| 120 | |
| 121 | # By default, consider that the platform's reset address is not programmable. |
| 122 | # The platform Makefile is free to override this value. |
| 123 | PROGRAMMABLE_RESET_ADDRESS := 0 |
| 124 | |
| 125 | # Flag used to choose the power state format viz Extended State-ID or the |
| 126 | # Original format. |
| 127 | PSCI_EXTENDED_STATE_ID := 0 |
| 128 | |
| 129 | # By default, BL1 acts as the reset handler, not BL31 |
| 130 | RESET_TO_BL31 := 0 |
| 131 | |
| 132 | # For Chain of Trust |
| 133 | SAVE_KEYS := 0 |
| 134 | |
| 135 | # Whether code and read-only data should be put on separate memory pages. The |
| 136 | # platform Makefile is free to override this value. |
| 137 | SEPARATE_CODE_AND_RODATA := 0 |
| 138 | |
| 139 | # SPD choice |
| 140 | SPD := none |
| 141 | |
| 142 | # Flag to introduce an infinite loop in BL1 just before it exits into the next |
| 143 | # image. This is meant to help debugging the post-BL2 phase. |
| 144 | SPIN_ON_BL1_EXIT := 0 |
| 145 | |
| 146 | # Flags to build TF with Trusted Boot support |
| 147 | TRUSTED_BOARD_BOOT := 0 |
| 148 | |
| 149 | # Build option to choose whether Trusted firmware uses Coherent memory or not. |
| 150 | USE_COHERENT_MEM := 1 |
| 151 | |
| 152 | # Build verbosity |
| 153 | V := 0 |