mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
EmbeddedPkg/NorFlashInfoLib: convert to BASE library
The library's MODULE_TYPE and the module type restrictions it defines are needlessly strict. Just change the library to BASE type and drop the restrictions entirely. Also, drop a bogus library dependency on DxeServicesLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
parent
31f5388006
commit
66cffa6525
@ -16,9 +16,9 @@
|
|||||||
INF_VERSION = 0x00010019
|
INF_VERSION = 0x00010019
|
||||||
BASE_NAME = NorFlashInfoLib
|
BASE_NAME = NorFlashInfoLib
|
||||||
FILE_GUID = 6b639c7e-9b53-4e9f-89a3-2e711729709c
|
FILE_GUID = 6b639c7e-9b53-4e9f-89a3-2e711729709c
|
||||||
MODULE_TYPE = DXE_DRIVER
|
MODULE_TYPE = BASE
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
LIBRARY_CLASS = NorFlashInfoLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
|
LIBRARY_CLASS = NorFlashInfoLib
|
||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
NorFlashInfoLib.c
|
NorFlashInfoLib.c
|
||||||
@ -30,5 +30,4 @@
|
|||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
BaseLib
|
BaseLib
|
||||||
DebugLib
|
DebugLib
|
||||||
DxeServicesLib
|
|
||||||
MemoryAllocationLib
|
MemoryAllocationLib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user