]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
EmbeddedPkg/Library: Add VirtualRealTimeClockLib
[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 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 #**/
18
19 [Defines]
20 INF_VERSION = 0x0001001A
21 BASE_NAME = VirtualRealTimeClockLib
22 FILE_GUID = 1E27D461-78F3-4F7D-B1C2-F72384F13A6E
23 MODULE_TYPE = BASE
24 VERSION_STRING = 1.0
25 LIBRARY_CLASS = RealTimeClockLib
26
27 [Sources.common]
28 VirtualRealTimeClockLib.c
29
30 [Packages]
31 MdePkg/MdePkg.dec
32 EmbeddedPkg/EmbeddedPkg.dec
33
34 [LibraryClasses]
35 IoLib
36 DebugLib
37 TimerLib
38 TimeBaseLib
39 UefiRuntimeLib
40
41 # Current usage of this library expects GCC in a UNIX-like shell environment with the date command
42 [BuildOptions]
43 GCC:*_*_*_CC_FLAGS = -DBUILD_EPOCH=`date +%s`