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>
INF_VERSION = 0x00010019\r
BASE_NAME = NorFlashInfoLib\r
FILE_GUID = 6b639c7e-9b53-4e9f-89a3-2e711729709c\r
- MODULE_TYPE = DXE_DRIVER\r
+ MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = NorFlashInfoLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION\r
+ LIBRARY_CLASS = NorFlashInfoLib\r
\r
[Sources]\r
NorFlashInfoLib.c\r
[LibraryClasses]\r
BaseLib\r
DebugLib\r
- DxeServicesLib\r
MemoryAllocationLib\r