]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
EmbeddedPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmbeddedPkg / Library / VirtualRealTimeClockLib / VirtualRealTimeClockLib.inf
1 #/** @file
2 #
3 # Implement virtual EFI RealTimeClock runtime services.
4 #
5 # Copyright (c) 2019, Pete Batard <pete@akeo.ie>
6 # Copyright (c) 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
7 # Copyright (c) Microsoft Corporation. All rights reserved.
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 #**/
12
13 [Defines]
14 INF_VERSION = 0x0001001A
15 BASE_NAME = VirtualRealTimeClockLib
16 FILE_GUID = 1E27D461-78F3-4F7D-B1C2-F72384F13A6E
17 MODULE_TYPE = BASE
18 VERSION_STRING = 1.0
19 LIBRARY_CLASS = RealTimeClockLib
20
21 [Sources.common]
22 VirtualRealTimeClockLib.c
23
24 [Packages]
25 MdePkg/MdePkg.dec
26 EmbeddedPkg/EmbeddedPkg.dec
27
28 [LibraryClasses]
29 IoLib
30 DebugLib
31 TimerLib
32 TimeBaseLib
33 UefiRuntimeLib
34
35 # Current usage of this library expects GCC in a UNIX-like shell environment with the date command
36 [BuildOptions]
37 GCC:*_*_*_CC_FLAGS = -DBUILD_EPOCH=`date +%s`