Sridhar Parasuram | 2ac5a1f | 2015-11-06 13:34:08 -0800 | [diff] [blame^] | 1 | #/* |
| 2 | # * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. |
| 3 | # * |
| 4 | # * Redistribution and use in source and binary forms, with or without |
| 5 | # * modification, are permitted provided that the following conditions are |
| 6 | # * met: |
| 7 | # * * Redistributions of source code must retain the above copyright |
| 8 | # * notice, this list of conditions and the following disclaimer. |
| 9 | # * * Redistributions in binary form must reproduce the above |
| 10 | # * copyright notice, this list of conditions and the following |
| 11 | # * disclaimer in the documentation and/or other materials provided |
| 12 | # * with the distribution. |
| 13 | # * * Neither the name of The Linux Foundation nor the names of its |
| 14 | # * contributors may be used to endorse or promote products derived |
| 15 | # * from this software without specific prior written permission. |
| 16 | # * |
| 17 | # * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 18 | # * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 19 | # * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 20 | # * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 21 | # * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | # * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 23 | # * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 24 | # * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 25 | # * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 26 | # * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 27 | # * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | #*/ |
| 29 | |
| 30 | #/** @file QcomModulePkg.dsc |
| 31 | # QcomModule package. |
| 32 | |
| 33 | ################################################################################ |
| 34 | # |
| 35 | # Defines Section - statements that will be processed to create a Makefile. |
| 36 | # |
| 37 | ################################################################################ |
| 38 | [Defines] |
| 39 | PLATFORM_NAME = QcomModulePkg |
| 40 | PLATFORM_GUID = 4476742F-4C2D-BA9D-992A-CB82914F5E58 |
| 41 | PLATFORM_VERSION = 0.1 |
| 42 | DSC_SPECIFICATION = 0x00010005 |
| 43 | OUTPUT_DIRECTORY = $(ABL_OUT_DIR) |
| 44 | SUPPORTED_ARCHITECTURES = ARM|AARCH64 |
| 45 | BUILD_TARGETS = DEBUG|RELEASE |
| 46 | SKUID_IDENTIFIER = DEFAULT |
| 47 | FLASH_DEFINITION = QcomModulePkg/QcomModulePkg.fdf |
| 48 | |
| 49 | [LibraryClasses.common] |
| 50 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf |
| 51 | BaseStackCheckLib|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf |
| 52 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf |
| 53 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
| 54 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf |
| 55 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf |
| 56 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf |
| 57 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf |
| 58 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf |
| 59 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf |
| 60 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf |
| 61 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf |
| 62 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf |
| 63 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf |
| 64 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf |
| 65 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf |
| 66 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
| 67 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf |
| 68 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf |
| 69 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf |
| 70 | TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf |
| 71 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf |
| 72 | Zlib|QcomModulePkg/Library/zlib/zlib.inf |
| 73 | |
| 74 | [LibraryClasses.AARCH64] |
| 75 | ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf |
| 76 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf |
| 77 | |
| 78 | [LibraryClasses.common.UEFI_APPLICATION] |
| 79 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf |
| 80 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
| 81 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf |
| 82 | |
| 83 | [BuildOptions.AARCH64] |
| 84 | GCC:*_*_AARCH64_ARCHCC_FLAGS == -mtune=cortex-a53 -w |
| 85 | GCC:*_*_AARCH64_ARCHPP_FLAGS == |
| 86 | |
| 87 | [PcdsFixedAtBuild.common] |
| 88 | |
| 89 | # DEBUG_ASSERT_ENABLED 0x01 |
| 90 | # DEBUG_PRINT_ENABLED 0x02 |
| 91 | # DEBUG_CODE_ENABLED 0x04 |
| 92 | # CLEAR_MEMORY_ENABLED 0x08 |
| 93 | # ASSERT_BREAKPOINT_ENABLED 0x10 |
| 94 | # ASSERT_DEADLOOP_ENABLED 0x20 |
| 95 | |
| 96 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f |
| 97 | |
| 98 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000400 |
| 99 | |
| 100 | #gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 |
| 101 | |
| 102 | |
| 103 | ################################################################################ |
| 104 | # |
| 105 | # Components Section - list of all EDK II Modules needed by this Platform |
| 106 | # |
| 107 | ################################################################################ |
| 108 | [Components.common] |
| 109 | |
| 110 | QcomModulePkg/Application/FastbootApp/FastbootApp.inf { |
| 111 | <LibraryClasses> |
| 112 | BootLib|QcomModulePkg/Library/BootLib/BootLib.inf |
| 113 | } |
| 114 | QcomModulePkg/Application/LinuxLoader/LinuxLoader.inf { |
| 115 | <LibraryClasses> |
| 116 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf |
| 117 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf |
| 118 | BootLib|QcomModulePkg/Library/BootLib/BootLib.inf |
| 119 | } |