From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=leif.lindholm@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 8434C2217CE55 for ; Fri, 8 Dec 2017 08:15:19 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id z18so11302461wrb.8 for ; Fri, 08 Dec 2017 08:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=r0mwXoZ/2Pj+ZrSe3ZDknqS2L50ynEODmlhL1DXV5cE=; b=UBggFo3ag9DWMz1emU7/byripU9MKZT8uN+u44pCvUiASgXQEv82Hyydij+yjwXQUD tN4/L54IUWv6wt151CpYZRLZJDjMIOYGyxt8o4N14FSTpnSlw+5YpKXL+otAfRFDhPMe D681PfYYNJLH/97GNYOfRPtwQABr1+I2/QoVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=r0mwXoZ/2Pj+ZrSe3ZDknqS2L50ynEODmlhL1DXV5cE=; b=S4anb2zNKjMqxPZ0jPZyzGY14OsUkWWiyofrwfqlRBZwBTzI1QUvbYhelyNlrUN4PI zW/2lMMaR2bEkjakeIf3unEjXAp1DY3psuZViy6gKeBrpEzcS5/1xsW/l0BlrC+6y40E j5W7ois8mThNKC3GevF7NOuHX2LiI3DpErCe/DImSVl9uQrPd+xEL2naHN3NlewgJLWv RthQ7a4OstKf6gzQAzQlzKoXZsUlbeyaP/t4mz/mJjE3LEka9PTga/w9RFom6WtMzo9F /pQ8jMGzKM2Ds+239R/V7vEjXIDLrjoaE3X13WAIsEzQpO6q+vzW/tCpgn9mYZ8UdmbB pBpg== X-Gm-Message-State: AJaThX6PZajdJQ+CwqwWJ6Qlg2riTlfWGCMyA+EgTHZoW7DNU78S9oyJ uppYfBVSZ9KMr0H1xfx6uoj1TA== X-Google-Smtp-Source: AGs4zMbKJ2S6z6VM3a5BvSKsnLpRETs0OjcJMiz4AW9299j4yDIPI4JAJw/N3z6wxVXjVYa9lRmsvg== X-Received: by 10.223.184.122 with SMTP id u55mr29084597wrf.61.1512749992378; Fri, 08 Dec 2017 08:19:52 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id x63sm2020357wma.39.2017.12.08.08.19.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 08:19:51 -0800 (PST) Date: Fri, 8 Dec 2017 16:19:49 +0000 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org Message-ID: <20171208161949.7qwrg5zj4qs4v7jm@bivouac.eciton.net> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> <20171205101326.23732-6-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20171205101326.23732-6-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [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: , X-List-Received-Date: Fri, 08 Dec 2017 16:15:19 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 05, 2017 at 10:13:26AM +0000, Ard Biesheuvel wrote: > 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(+) > > 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 DEBUG|NOOPT|RELEASE ? Tested with clang/gcc ARM/AARCH64. Feel free to fold that in, or not. For the series: Reviewed-by: Leif Lindholm > + 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 > -- > 2.11.0 >