]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/ArmPkg.dsc
Update remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd half of...
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
1 #/** @file
2 # ARM processor package.
3 #
4 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = ArmPkg
23 PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/Arm
27 SUPPORTED_ARCHITECTURES = ARM
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30
31 [BuildOptions]
32 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7
33 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7
34 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7
35 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
36
37 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb
38 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a
39 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
40
41 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb
42 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
43 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
44
45 [LibraryClasses.common]
46 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
47 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
48 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
49 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
50 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
51 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
52 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
53 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
54 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
55 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
56 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
58 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
59 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
60
61 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
62 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
63 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
64 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
65
66 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
67 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
68 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
69 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
70
71 [LibraryClasses.ARM]
72 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
73
74
75 [Components.common]
76 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
77 ## ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf
78 ## ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf
79 ## ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf
80 ## ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf
81 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
82 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
83 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
84 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
85 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
86 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
87 ArmPkg/Library/SemihostLib/SemihostLib.inf
88 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
89 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
90 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
91 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
92 ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
93
94 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
95 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf