This patch changes the Versatile Express A9 BSP to build with
EDK2_ARMVE_STANDALONE=1 as the default option.
The user may then specify zero if they wish to build the non-standalone
version.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14439
6f19259b-4bc3-4df7-8a09-
765794883524
-# Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
+# Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
# \r
# This program and the accompanying materials \r
# are licensed and made available under the terms and conditions of the BSD License \r
# \r
# This program and the accompanying materials \r
# are licensed and made available under the terms and conditions of the BSD License \r
PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea \r
PLATFORM_VERSION = 0.1\r
DSC_SPECIFICATION = 0x00010005\r
PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea \r
PLATFORM_VERSION = 0.1\r
DSC_SPECIFICATION = 0x00010005\r
-!ifdef $(EDK2_ARMVE_STANDALONE)\r
- OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone\r
-!else\r
- OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4\r
-!endif\r
SUPPORTED_ARCHITECTURES = ARM\r
BUILD_TARGETS = DEBUG|RELEASE\r
SKUID_IDENTIFIER = DEFAULT\r
FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf\r
\r
SUPPORTED_ARCHITECTURES = ARM\r
BUILD_TARGETS = DEBUG|RELEASE\r
SKUID_IDENTIFIER = DEFAULT\r
FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf\r
\r
+ # Reflashing the NOR Flash is a slow process. To ease the development on ARM Versatile Express Cortex-A9x4,\r
+ # the UEFI firmware can be built to be started from DRAM (instead of NOR Flash).\r
+ # The engineer only needs to copy the new binary in DRAM with the hardware debugger and execute from there.\r
+!ifndef EDK2_ARMVE_STANDALONE\r
+ DEFINE EDK2_ARMVE_STANDALONE=1\r
+!endif\r
+!if $(EDK2_ARMVE_STANDALONE) == 1\r
+ OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone\r
+!else\r
+ OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4\r
+!endif\r
+\r
!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc\r
\r
[LibraryClasses.common]\r
!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc\r
\r
[LibraryClasses.common]\r