From patchwork Tue Dec 5 10:13:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120637 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5551947qgn; Tue, 5 Dec 2017 02:13:48 -0800 (PST) X-Google-Smtp-Source: AGs4zMZrngs2FJXir/rgw9OTr4QINv5nsQTHteZasfawCH2X+fBLDCvYnWyEzxrCec7oL9VbUadf X-Received: by 10.84.248.132 with SMTP id q4mr18210117pll.121.1512468828376; Tue, 05 Dec 2017 02:13:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468828; cv=none; d=google.com; s=arc-20160816; b=T3LELKHCh5X+7oXjWIIi3dks55LrNtvlsPaOgbhAiQvAsCXcf8iW4wuHbqmLvBzbZ1 Az8uE3jrOeEvgxAVVtSxwpUEsegtCmmj6aqvr5t61p7edwD7Czrx9kvDKmLQ3Iu1vQHb Q7sErUxHg0lgOHUZC5X9aro7dp2cqDxp1EXkbqFRRSOthUntcpEjDR7sodI2qRoIu8vK plJhBZ/JlcFzLjZ02e9K7X5PFjoFHjELd+mDDlhuPwDFxTgyYW1uu7I64TiruVpRFb9l NDoOBhZ9Y8izJRQkQoIDbPjnEO9Tw+NMYiJsVJT6nihl0gS4gegXTuHiIfhZHMAQ14K+ n1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=O7LFswdP/nk9YIUWS2sl7290RxltT6zx971AAmji3Gg=; b=kM1rXIkKNz6dC5GkXOSX8Ku4A7+tu1q5s40RPWFwjh2zfUJzYMUkdWtblqLvU+rX8y ahGx0W4AMu9Y4Zztb79Ta4CpZE1VnbiNnYMcaey3Y6um7W/Z9f3PcjQ9WaJKS5z4VttE f+sID2NhhJDDH8BLCbPspHqTo4FcAN48mkVDbZh4YejV6luFM4GwcaYJt9VPARSkWXFT 2mon+jrpGq9Wwaci+rgAyVeWtiJ/uwyzeXqSLbq6qIL2pd4EkTmr8kS90OSSwJSdezQ9 zOdOgExmJBN1T6kyLSbb3clz6PpvUGlpo4jkSwtl5kogxYGL3rJSN7DAZOMjTjawyJd8 o6Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FLvl8kM3; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id o2si10789042pgq.578.2017.12.05.02.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FLvl8kM3; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 624432035627D; Tue, 5 Dec 2017 02:09:14 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6835D20356269 for ; Tue, 5 Dec 2017 02:09:12 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id l22so20390365wrc.11 for ; Tue, 05 Dec 2017 02:13:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hPmwiz94BFeiPV9luZRW7DUNimeRVWSr2egcAm4jNKY=; b=FLvl8kM30qwJiZM2cXLflqAZaGupmoTeTlnoW3YiXDPddxl8gWTqVKJYBCL9VmwoM6 VlIqtG9iWn9AzMuxHdu4cExrfuFJ155MufbGQEtRXhFYmRBgp/vKKsDhK7Xz66D2IslX crN9E/54AtrFoSnawOIhbKeYNyUOtTuLmIwEU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hPmwiz94BFeiPV9luZRW7DUNimeRVWSr2egcAm4jNKY=; b=toxXXtwFLiTB8gGS2HreIMMirZhE8RkWj6hgdyfdScqjbNXmhIo8LqeNkBNm3YiXDz 3RXsLcY11Lz9Tx30Yq7rH4fXXjpKlpAMyreTNZBCcznF8QvAj8VvHlD4rj6PYTBHAGIR t2U7cqEOtR/XFXyuiAnUko/pqSB3kraqM4RWSEB9WxBUj7Jc08iIZVYd1B4/gFGeJOKa 7w1oQHiejOmJQmlkO1KoWEitWZzbd94aAXU3YgJ7us4RwY8m0vTKA7Nzi965R7fqzzD6 9rtc0ZOuCe/zcQgXmyNgFFYii+4QGF9lQ5BPuzOJWCYiFLzbTOEt8TC5GtAMG/P2os9H ObTw== X-Gm-Message-State: AJaThX5yzwyDNtVIze5v/aakWHs7CRvR3DAm7o3ZGOZd+2DAowm39TyD XUDuVo5/KrGuQVvKSjjUMg8H42ZAKBA= X-Received: by 10.223.160.184 with SMTP id m53mr15550224wrm.126.1512468821587; Tue, 05 Dec 2017 02:13:41 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id d1sm14398065wra.44.2017.12.05.02.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:40 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 5 Dec 2017 10:13:26 +0000 Message-Id: <20171205101326.23732-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205101326.23732-1-ard.biesheuvel@linaro.org> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 5/5] ArmPlatformPkg: add package .DSC file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Now that we have removed all the cruft from ArmPlatformPkg, add a .DSC file that builds all the remaining components standalone, i.e., outside of the context of any particular platform. This is primarily intended for build time testing. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmPlatformPkg.dsc | 121 ++++++++++++++++++++ 1 file changed, 121 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatformPkg.dsc new file mode 100644 index 000000000000..032942e87891 --- /dev/null +++ b/ArmPlatformPkg/ArmPlatformPkg.dsc @@ -0,0 +1,121 @@ +#/** @file +# ARM platform package. +# +# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
+# Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.
+# Copyright (c) 2016 - 2017, Linaro Ltd. All rights reserved.
+# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +#**/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + PLATFORM_NAME = ArmPlatformPkg + PLATFORM_GUID = 9ce08891-ac9c-476d-ab04-0c04d3a97544 + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x0001001A + OUTPUT_DIRECTORY = Build/ArmPlatform + SUPPORTED_ARCHITECTURES = ARM|AARCH64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + +[BuildOptions] + RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG + *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES + +[PcdsFixedAtBuild] + gArmTokenSpaceGuid.PcdFdBaseAddress|0x0 + gArmTokenSpaceGuid.PcdFdSize|0x1000 + +[LibraryClasses.common] + ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf + ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf + ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf + ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf + ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf + ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf + DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + LcdPlatformLib|ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf + LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf + NorFlashPlatformLib|ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf + PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf + PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf + PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf + PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf + TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf + UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf + + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + +[LibraryClasses.common.PEIM] + HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf + MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf + PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf + PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf + PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf + +[LibraryClasses.common.SEC] + ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf + HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf + MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf + PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf + +[Components.common] + ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcdGraphicsOutputDxe.inf + ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf + ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf + ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf + ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf + ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf + + ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf + ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf + ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf + ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf + ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf + ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf + ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf + ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf + + ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf + ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf + + ArmPlatformPkg/PlatformPei/PlatformPeim.inf + ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf + + ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf + ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf + + ArmPlatformPkg/PrePi/PeiMPCore.inf + ArmPlatformPkg/PrePi/PeiUniCore.inf