summaryrefslogtreecommitdiff
path: root/Core/EM/Recovery/Recovery.mak
blob: 0ab43c384633142b27973ecf8bcd25764da6658c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2009, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**             5555 Oakbrook Pkwy, Norcross, GA 30093               **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************

#**********************************************************************
# $Header: /Alaska/Projects/Intel/Haswell/LynxPoint_SharkBay-DT_Crb_1AQQW/Core/EM/Recovery/Recovery.mak 1     5/17/13 8:01a Thomaschen $
#
# $Revision: 1 $
#
# $Date: 5/17/13 8:01a $
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/Projects/Intel/Haswell/LynxPoint_SharkBay-DT_Crb_1AQQW/Core/EM/Recovery/Recovery.mak $
# 
# 1     5/17/13 8:01a Thomaschen
# Update for EIP124189.
# 
# 8     8/09/12 11:11a Pats
# [TAG] - EIP 80780
# [Category] - Function Request
# [Description] - Support for recovery from media formatted with the
# EXT(x) file system.
# [Files] Recovery.c, Recovery.mak, Recovery.sdl, RecoveryCsp.h (bin),
# and FsRecovery.c (source)
# 
# 7     1/25/12 2:46p Pats
# [TAG] - EIP 26909
# [Category] - Function Request
# [Description] - Support for recovery from media formatted with the NTFS
# file system. This of necessity includes detection of GPT partitions,
# which may contain any file system.
# [Files] Recovery.c, Recovery.mak, Recovery.sdl, RecoveryCsp.h (bin),
# and FsRecovery.c (source)
# 
# 6     5/13/11 4:44p Artems
# Replaced GetFileName infrastructure with GetRecoveryFileInfo for
# clarification
# 
# 5     2/05/11 2:43p Artems
# EIP 39463: Integrated Core portion for secure update - eLink support
# for GetFileName
# 
# 4     6/11/10 11:42a Artems
# Added porting hooks for recovery file name and validation
# 
# 3     7/08/09 6:21p Artems
# Changed file header
# 
# 2     12/02/05 11:17a Felixp
# 
# 1     12/01/05 9:35a Felixp
# 
#**********************************************************************
#<AMI_FHDR_START>
#
# Name:	Recovery.mak
#
# Description: Makefile for recovery module
#
#<AMI_FHDR_END>
#**********************************************************************
all : Recovery

AMI_CSP_LIB_INCLUDE_FILES = "$(Recovery_DIR)\RecoveryCsp.h" + \
$(AMI_CSP_LIB_INCLUDE_FILES)

RECOVERY_DEFINES =\
/DOemGetFileListFromPrimaryVolume=$(OemGetFileListFromPrimaryVolumeFunction) \
/DOemGetFileListFromFatVolume=$(OemGetFileListFromFatVolumeFunction) \
/DOemGetFileListFromNtfsVolume=$(OemGetFileListFromNtfsVolumeFunction) \
/DOemGetFileListFromExtVolume=$(OemGetFileListFromExtVolumeFunction) \
/DOemIsValidFile=$(OemIsValidFileFunction) \
!IF $(PfatServices_SUPPORT) == 1
/DOemGetRecoveryFileInfo=PfatImageInfo
!ELSE
/DOemGetRecoveryFileInfo=$(OemGetRecoveryFileInfoFunction)
!ENDIF

Recovery : $(BUILD_DIR)\Recovery.mak RecoveryBin

$(BUILD_DIR)\Recovery.mak : $(Recovery_DIR)\$(@B).cif $(Recovery_DIR)\$(@B).mak $(BUILD_RULES)
	$(CIF2MAK) $(Recovery_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)

RecoveryBin : $(AMIPEILIB) $(RECOVERYLIB)
	$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
		/f $(BUILD_DIR)\Recovery.mak all\
		GUID=E008B434-0E73-440c-8612-A143F6A07BCB\
        "MY_DEFINES=$(RECOVERY_DEFINES)"\
		ENTRY_POINT=RecoveryEntry\
		"INIT_LIST=$(RecoveryInitialize)"\
		TYPE=PEIM COMPRESS=1

#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2009, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**             5555 Oakbrook Pkwy, Norcross, GA 30093               **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************