]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/ArmVExpressPkg: CTA9x4: Default to EDK2_ARMVE_STANDALONE=1
authorRyan Harkin <ryan.harkin@linaro.org>
Fri, 21 Jun 2013 10:59:53 +0000 (10:59 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 21 Jun 2013 10:59:53 +0000 (10:59 +0000)
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

ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc

index 3f9654f42902eafbf913fa5a34a84a7598f193b1..2b4484ab8639b2ef343320b8cdce1f9546dc9a4d 100644 (file)
@@ -1,5 +1,5 @@
 #\r
-#  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
   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
+  # 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