public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] DynamicTablesPkg: add package .dsc
@ 2019-03-18 15:56 Leif Lindholm
  2019-03-18 15:56 ` [PATCH 1/2] DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2 Leif Lindholm
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Leif Lindholm @ 2019-03-18 15:56 UTC (permalink / raw)
  To: edk2-devel; +Cc: Sami Mujawar, Alexei Fedorov

Having a top-level .dsc simplifies automated builds of core modules
in isolation from any final platforms. As demonstrated by 1/2,
discovered while putting the .dsc together.

Leif Lindholm (2):
  DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2
  DynamicTablesPkg: add package .dsc file

 DynamicTablesPkg/DynamicTablesPkg.dsc              | 44 ++++++++++++++++++++++
 .../Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf     |  2 +-
 2 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 DynamicTablesPkg/DynamicTablesPkg.dsc

-- 
2.11.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2
  2019-03-18 15:56 [PATCH 0/2] DynamicTablesPkg: add package .dsc Leif Lindholm
@ 2019-03-18 15:56 ` Leif Lindholm
  2019-03-18 15:56 ` [PATCH 2/2] DynamicTablesPkg: add package .dsc file Leif Lindholm
  2019-03-19 17:25 ` [PATCH 0/2] DynamicTablesPkg: add package .dsc Sami Mujawar
  2 siblings, 0 replies; 5+ messages in thread
From: Leif Lindholm @ 2019-03-18 15:56 UTC (permalink / raw)
  To: edk2-devel; +Cc: Sami Mujawar, Alexei Fedorov

This patch changes the stated dependency in AcpiDbg2LibArm.inf from
currently listed SerialPortLib to actually required PL011UartLib.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
 DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf b/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf
index 4075862204..6682e92448 100644
--- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf
+++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf
@@ -34,7 +34,7 @@ [Packages]
 
 [LibraryClasses]
   BaseLib
-  SerialPortLib
+  PL011UartLib
 
 [FixedPcd]
   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] DynamicTablesPkg: add package .dsc file
  2019-03-18 15:56 [PATCH 0/2] DynamicTablesPkg: add package .dsc Leif Lindholm
  2019-03-18 15:56 ` [PATCH 1/2] DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2 Leif Lindholm
@ 2019-03-18 15:56 ` Leif Lindholm
  2019-03-19 17:25 ` [PATCH 0/2] DynamicTablesPkg: add package .dsc Sami Mujawar
  2 siblings, 0 replies; 5+ messages in thread
From: Leif Lindholm @ 2019-03-18 15:56 UTC (permalink / raw)
  To: edk2-devel; +Cc: Sami Mujawar, Alexei Fedorov

Having a top-level .dsc makes it easier to perform standalone build
tests of the core code, so add one.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
 DynamicTablesPkg/DynamicTablesPkg.dsc | 44 +++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 DynamicTablesPkg/DynamicTablesPkg.dsc

diff --git a/DynamicTablesPkg/DynamicTablesPkg.dsc b/DynamicTablesPkg/DynamicTablesPkg.dsc
new file mode 100644
index 0000000000..a66bba976c
--- /dev/null
+++ b/DynamicTablesPkg/DynamicTablesPkg.dsc
@@ -0,0 +1,44 @@
+## @file
+#  Dsc file for Dynamic Tables Framework.
+#
+#  Copyright (c) 2019, Linaro Limited. All rights reserved.<BR>
+#
+#  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]
+  PLATFORM_NAME                  = DynamicTables
+  PLATFORM_GUID                  = f39096a0-7a0a-442a-9413-cf584ef80cbb
+  PLATFORM_VERSION               = 0.1
+  DSC_SPECIFICATION              = 0x0001001a
+  OUTPUT_DIRECTORY               = Build/DynamicTables
+  SUPPORTED_ARCHITECTURES        = ARM|AARCH64
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
+  SKUID_IDENTIFIER               = DEFAULT
+
+!include DynamicTables.dsc.inc
+
+[LibraryClasses]
+  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
+  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
+  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
+  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
+  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
+  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
+  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
+
+[LibraryClasses.ARM, LibraryClasses.AARCH64]
+  PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
+
+[Components.common]
+  DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] DynamicTablesPkg: add package .dsc
  2019-03-18 15:56 [PATCH 0/2] DynamicTablesPkg: add package .dsc Leif Lindholm
  2019-03-18 15:56 ` [PATCH 1/2] DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2 Leif Lindholm
  2019-03-18 15:56 ` [PATCH 2/2] DynamicTablesPkg: add package .dsc file Leif Lindholm
@ 2019-03-19 17:25 ` Sami Mujawar
  2019-03-19 20:55   ` Sami Mujawar
  2 siblings, 1 reply; 5+ messages in thread
From: Sami Mujawar @ 2019-03-19 17:25 UTC (permalink / raw)
  To: Leif Lindholm, edk2-devel@lists.01.org; +Cc: Alexei Fedorov, nd

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>

-----Original Message-----
From: Leif Lindholm <leif.lindholm@linaro.org> 
Sent: 18 March 2019 03:57 PM
To: edk2-devel@lists.01.org
Cc: Sami Mujawar <Sami.Mujawar@arm.com>; Alexei Fedorov <Alexei.Fedorov@arm.com>
Subject: [PATCH 0/2] DynamicTablesPkg: add package .dsc

Having a top-level .dsc simplifies automated builds of core modules in isolation from any final platforms. As demonstrated by 1/2, discovered while putting the .dsc together.

Leif Lindholm (2):
  DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2
  DynamicTablesPkg: add package .dsc file

 DynamicTablesPkg/DynamicTablesPkg.dsc              | 44 ++++++++++++++++++++++
 .../Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf     |  2 +-
 2 files changed, 45 insertions(+), 1 deletion(-)  create mode 100644 DynamicTablesPkg/DynamicTablesPkg.dsc

--
2.11.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] DynamicTablesPkg: add package .dsc
  2019-03-19 17:25 ` [PATCH 0/2] DynamicTablesPkg: add package .dsc Sami Mujawar
@ 2019-03-19 20:55   ` Sami Mujawar
  0 siblings, 0 replies; 5+ messages in thread
From: Sami Mujawar @ 2019-03-19 20:55 UTC (permalink / raw)
  To: Leif Lindholm, edk2-devel@lists.01.org; +Cc: Alexei Fedorov, nd

Pushed as 7681a891cec6..fbdfef35cb82

-----Original Message-----
From: Sami Mujawar 
Sent: 19 March 2019 05:25 PM
To: Leif Lindholm <leif.lindholm@linaro.org>; edk2-devel@lists.01.org
Cc: Alexei Fedorov <Alexei.Fedorov@arm.com>; nd <nd@arm.com>
Subject: RE: [PATCH 0/2] DynamicTablesPkg: add package .dsc

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>

-----Original Message-----
From: Leif Lindholm <leif.lindholm@linaro.org> 
Sent: 18 March 2019 03:57 PM
To: edk2-devel@lists.01.org
Cc: Sami Mujawar <Sami.Mujawar@arm.com>; Alexei Fedorov <Alexei.Fedorov@arm.com>
Subject: [PATCH 0/2] DynamicTablesPkg: add package .dsc

Having a top-level .dsc simplifies automated builds of core modules in isolation from any final platforms. As demonstrated by 1/2, discovered while putting the .dsc together.

Leif Lindholm (2):
  DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2
  DynamicTablesPkg: add package .dsc file

 DynamicTablesPkg/DynamicTablesPkg.dsc              | 44 ++++++++++++++++++++++
 .../Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf     |  2 +-
 2 files changed, 45 insertions(+), 1 deletion(-)  create mode 100644 DynamicTablesPkg/DynamicTablesPkg.dsc

--
2.11.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-19 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-18 15:56 [PATCH 0/2] DynamicTablesPkg: add package .dsc Leif Lindholm
2019-03-18 15:56 ` [PATCH 1/2] DynamicTablesPkg: correct LibraryClass dependencies for Arm/DBG2 Leif Lindholm
2019-03-18 15:56 ` [PATCH 2/2] DynamicTablesPkg: add package .dsc file Leif Lindholm
2019-03-19 17:25 ` [PATCH 0/2] DynamicTablesPkg: add package .dsc Sami Mujawar
2019-03-19 20:55   ` Sami Mujawar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox