From: Eric Jin <eric.jin@intel.com>
To: edk2-devel@lists.01.org
Subject: [edk2-test][Patch 1/1] uefi-sct/SctPkg:Fix inf/dec files for EBC test
Date: Sat, 30 Mar 2019 15:25:46 +0800 [thread overview]
Message-ID: <20190330072546.17272-1-eric.jin@intel.com> (raw)
Fix compilation issues in inf files when compiled against
edk2 stable tag edk2-stable201903.
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Jin <eric.jin@intel.com>
---
uefi-sct/SctPkg/SctPkg.dec | 5 ++++-
uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf | 5 ++---
uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/EbcBBTest.inf | 40 +++++++++++++++++++++++-----------------
uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf | 5 ++---
uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/IhvEbcBBTest.inf | 40 +++++++++++++++++++++++-----------------
5 files changed, 54 insertions(+), 41 deletions(-)
diff --git a/uefi-sct/SctPkg/SctPkg.dec b/uefi-sct/SctPkg/SctPkg.dec
index 37db1e2d161c..18e2bd2bed76 100644
--- a/uefi-sct/SctPkg/SctPkg.dec
+++ b/uefi-sct/SctPkg/SctPkg.dec
@@ -2,7 +2,7 @@
#
# Copyright 2014 - 2015 Unified EFI, Inc.<BR>
# Copyright (c) 2014 ARM Ltd. All rights reserved.<BR>
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -32,6 +32,7 @@
################################################################################
[Includes.common]
Include # Root include for the package
+ Include/Legacy
TestInfrastructure/SCT/Drivers/Include
TestInfrastructure/SCT/Framework
TestInfrastructure/SCT/Framework/Include
@@ -58,3 +59,5 @@
gEfiTestProfileLibraryGuid = { 0x832c9023, 0x8e67, 0x453f, { 0x83, 0xea, 0xdf, 0x71, 0x05, 0xfa, 0x74, 0x66 }}
gEfiWbTestGuid = { 0x0B486CED, 0x25EB, 0x448a, { 0xB2, 0xB2, 0x22, 0x4E, 0x7A, 0x20, 0xCF, 0x57 }}
gEfiEntsProtocolGuid = { 0x5bfcffb2, 0x84c0, 0x49f0, { 0x9a, 0x3a, 0x0, 0x71, 0x5f, 0xec, 0xfb, 0x32 }}
+ gEfiPeiFlushInstructionCacheGuid = { 0xd8117cfc, 0x94a6, 0x11d4, { 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }}
+ gEfiPeiPeCoffLoaderGuid = { 0xd8117cff, 0x94a6, 0x11d4, { 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }}
diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf
index 20fed3aae997..88aa9c1f1614 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf
@@ -1,7 +1,7 @@
## @file
#
# Copyright 2006 - 2012 Unified EFI, Inc.<BR>
-# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -28,8 +28,7 @@
[defines]
BASE_NAME = Ebc_EbcDriver
FILE_GUID = 8A6D92CB-4C56-4998-BC9C-E78356ED2ACD
-COMPONENT_TYPE = BS_DRIVER
-#BUILD_TYPE = CUSTOM_MAKEFILE
+MODULE_TYPE = UEFI_DRIVER
CUSTOM_MAKEFILE = MSFT| makefile
CUSTOM_MAKEFILE = GCC | GNUmakefile
diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/EbcBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/EbcBBTest.inf
index 843409924c2e..3d2b8c7d0bcd 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/EbcBBTest.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/Ebc/BlackBoxTest/EbcBBTest.inf
@@ -1,7 +1,7 @@
## @file
#
# Copyright 2006 - 2012 Unified EFI, Inc.<BR>
-# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -25,9 +25,12 @@
#--*/
[defines]
-BASE_NAME = EbcBBTest
-FILE_GUID = C4895001-EBD9-4521-A522-E9087DE83D39
-COMPONENT_TYPE = BS_DRIVER
+ INF_VERSION = 0x00010005
+ BASE_NAME = EbcBBTest
+ FILE_GUID = C4895001-EBD9-4521-A522-E9087DE83D39
+ MODULE_TYPE = UEFI_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = InitializeBBTestEbcProtocol
[sources.common]
EbcBBTestConformance.c
@@ -37,20 +40,23 @@ COMPONENT_TYPE = BS_DRIVER
Guid.c
Guid.h
-[includes.common]
- .
- $(WORKSPACE)/SctPkg
- $(WORKSPACE)/SctPkg/UEFI
- $(WORKSPACE)/SctPkg/Include
- $(WORKSPACE)/SctPkg/Include/Legacy
- $(WORKSPACE)/MdePkg/Include
+[Packages]
+ SctPkg/SctPkg.dec
+ SctPkg/UEFI/UEFI.dec
+ MdePkg/MdePkg.dec
-[libraries.common]
+[LibraryClasses]
+ UefiDriverEntryPoint
SctLib
- SctGuidLib
EfiTestLib
- BaseDebugLibNull
- CompilerIntrinsicsLib
-[nmake.common]
- IMAGE_ENTRY_POINT=InitializeBBTestEbcProtocol
+[Guids]
+ gBlackBoxEfiFileInfoGuid
+
+[Protocols]
+ gBlackBoxEfiLoadedImageProtocolGuid
+ gBlackBoxEfiSimpleFileSystemProtocolGuid
+ gBlackBoxEfiEbcDriverProtocolGuid
+ gEfiTestProfileLibraryGuid
+ gEfiPeiFlushInstructionCacheGuid
+ gEfiPeiPeCoffLoaderGuid
diff --git a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf
index d33a16a9f47c..2193e69389dc 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/Dependency/EbcDriverBin/EbcDriverBin.inf
@@ -1,7 +1,7 @@
## @file
#
# Copyright 2006 - 2015 Unified EFI, Inc.<BR>
-# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -28,8 +28,7 @@
[defines]
BASE_NAME = Ebc_EbcDriver
FILE_GUID = 8A6D92CB-4C56-4998-BC9C-E78356ED2ACD
-COMPONENT_TYPE = BS_DRIVER
-#BUILD_TYPE = CUSTOM_MAKEFILE
+MODULE_TYPE = UEFI_DRIVER
CUSTOM_MAKEFILE = MSFT | makefile
CUSTOM_MAKEFILE = GCC | GNUmakefile
diff --git a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/IhvEbcBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/IhvEbcBBTest.inf
index dfee56234626..d0b500808767 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/IhvEbcBBTest.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/Ebc/BlackBoxTest/IhvEbcBBTest.inf
@@ -1,7 +1,7 @@
## @file
#
# Copyright 2006 - 2015 Unified EFI, Inc.<BR>
-# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -25,9 +25,12 @@
#--*/
[defines]
- BASE_NAME = IhvEbcBBTest
- FILE_GUID = C3776D26-7DFE-4698-A52E-422C075ACA76
- COMPONENT_TYPE = BS_DRIVER
+ INF_VERSION = 0x00010005
+ BASE_NAME = IhvEbcBBTest
+ FILE_GUID = C3776D26-7DFE-4698-A52E-422C075ACA76
+ MODULE_TYPE = UEFI_DRIVER
+ VERSION_STRING = 1.0
+ ENTRY_POINT = InitializeBBTestEbcProtocol
[sources.common]
EbcBBTestConformance.c
@@ -37,20 +40,23 @@
Guid.c
Guid.h
-[includes.common]
- .
- $(WORKSPACE)/SctPkg
- $(WORKSPACE)/SctPkg/UEFI
- $(WORKSPACE)/SctPkg/Include
- $(WORKSPACE)/SctPkg/Include/Legacy
- $(WORKSPACE)/MdePkg/Include
+[Packages]
+ SctPkg/SctPkg.dec
+ SctPkg/UEFI/UEFI.dec
+ MdePkg/MdePkg.dec
-[libraries.common]
+[LibraryClasses]
+ UefiDriverEntryPoint
SctLib
- SctGuidLib
EfiTestLib
- BaseDebugLibNull
- CompilerIntrinsicsLib
-[nmake.common]
- IMAGE_ENTRY_POINT=InitializeBBTestEbcProtocol
+[Guids]
+ gBlackBoxEfiFileInfoGuid
+
+[Protocols]
+ gBlackBoxEfiLoadedImageProtocolGuid
+ gBlackBoxEfiSimpleFileSystemProtocolGuid
+ gBlackBoxEfiEbcDriverProtocolGuid
+ gEfiTestProfileLibraryGuid
+ gEfiPeiFlushInstructionCacheGuid
+ gEfiPeiPeCoffLoaderGuid
--
2.20.0.windows.1
next reply other threads:[~2019-03-30 7:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-30 7:25 Eric Jin [this message]
2019-04-01 20:58 ` [edk2-test][Patch 1/1] uefi-sct/SctPkg:Fix inf/dec files for EBC test Supreeth Venkatesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190330072546.17272-1-eric.jin@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox