blob: 8436e784e27b625d38743b840e604679ad38adbd (
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
#*************************************************************************
#*************************************************************************
#** **
#** (C)Copyright 1985-2010, American Megatrends, Inc. **
#** **
#** All Rights Reserved. **
#** **
#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
#** **
#** Phone: (770)-246-8600 **
#** **
#*************************************************************************
#*************************************************************************
#**********************************************************************
#
# $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ME/MeWrapper/TdtWrapper/TDTWrapper.mak 3 2/23/13 6:33a Klzhan $
#
# $Revision: 3 $
#
# $Date: 2/23/13 6:33a $
#
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ME/MeWrapper/TdtWrapper/TDTWrapper.mak $
#
# 3 2/23/13 6:33a Klzhan
# [TAG] EIPNone
# [Category] Improvement
# [Description] Fix build error when OFDB disabled
#
# 2 1/24/13 3:51a Klzhan
# [TAG] EIP113197
# [Category] Improvement
# [Description] Block AFU when DTimer is running out.
# [Files] TDTWrapper.dxs
# TDTWrapper.c
# TDTWrapper.mak
# TDTWrapper.sdl
# TDTSetup.sd
# TDTSetup.uni
# TdtCallback.h
# TDTWrapper.cif
#
# 1 2/08/12 1:07a Klzhan
# Initial Check in
#
# 1 2/25/11 1:40a Klzhan
# Initial Check-in
#
# 2 12/03/10 5:56a Klzhan
# Fix Build error.
#
# 1 12/03/10 5:09a Klzhan
# Initial Check-in.
#
#
#**********************************************************************
#<AMI_FHDR_START>
#
# Name: TDTDxe.mak
#
# Description:
#
#<AMI_FHDR_END>
#**********************************************************************
# MAK file for the ModulePart:TDTPlatformPolicy
!IFDEF OFBD_SUPPORT
!IF $(OFBD_SUPPORT) == 1
all : TdtWrapper TdtOfbd
!ELSE #!IF $(OFBD_SUPPORT) == 1
all : TdtWrapper
!ENDIF
!ELSE #!IFDEF OFBD_SUPPORT
all : TdtWrapper
!ENDIF
BUILD_TDTWRAPPER_DIR = $(BUILD_DIR)\$(TdtWrapper_DIR)
TdtWrapper : $(BUILD_DIR)\TdtWrapper.mak TdtWrapperBin
$(BUILD_DIR)\TdtWrapper.mak : $(TdtWrapper_DIR)\$(@B).cif $(TdtWrapper_DIR)\$(@B).mak $(BUILD_RULES)
$(CIF2MAK) $(TdtWrapper_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)
# MAK file for the eModule:TdtWrapper
TdtAm_INCLUDES =\
$(TDT_INCLUDES)\
$(ME_INCLUDES)
TdtWrapper_OBJECTS = $(BUILD_TDTWRAPPER_DIR)\TdtWrapper.obj
TdtWrapper_CFLAGS = $(CFLAGS)
TdtWrapperBin : $(AMIDXELIB) $(AMICSPLib) $(MeLibDxe_LIB)
$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
/f $(BUILD_DIR)\TdtWrapper.mak all\
"MY_INCLUDES=$(TdtAm_INCLUDES)"\
NAME=TdtWrapper\
MAKEFILE=$(BUILD_DIR)\TdtWrapper.mak \
"CFLAGS=$(TdtWrapper_CFLAGS) /I$(TdtWrapper_DIR)"\
GUID=CA5E3DF0-940A-48f1-8C14-DB2FB5998B36\
OBJECTS="$(TdtWrapper_OBJECTS)" \
ENTRY_POINT=TdtWrapperEntryPoint\
TYPE=BS_DRIVER \
DEPEX1=$(TdtWrapper_DIR)\TdtWrapper.dxs\
DEPEX1_TYPE=EFI_SECTION_DXE_DEPEX\
COMPRESS=1
#---------------------------------------------------------------------------
# Create TDT OFBD Library
#---------------------------------------------------------------------------
TdtOfbd : $(BUILD_DIR)\TdtWrapper.mak TdtOfbdLibBin
TDT_OFBD_INCLUDES =\
/I$(OFBD_DIR)\
/I$(MeProtocolLib_DIR)\
/I$(AtAmDxe_DIR)\
$(ME_INCLUDES)
TdtOfbd_OBJECTS = $(BUILD_TDTWRAPPER_DIR)\TdtOfbd.obj
TdtOfbdLibBin : $(AMIDXELIB)
@set INCLUDE=%%INCLUDE%%
$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
/f $(BUILD_DIR)\TdtWrapper.mak all\
"MY_INCLUDES=$(TDT_OFBD_INCLUDES)" \
"CFLAGS=$(CFLAGS:/W4=/W3)" \
OBJECTS="$(TdtOfbd_OBJECTS)" \
TYPE=LIBRARY LIBRARY_NAME=$(TDTOFBDLIB)
$(TDTOFBDLIB) : TdtOfbd
#---------------------------------------------------------------------------
# Create Intel TDT Setup Screens
#---------------------------------------------------------------------------
SetupSdbs : $(BUILD_DIR)\TdtWrapper.mak TDTSetupSDB
TDTSetupSDB :
$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
/f $(BUILD_DIR)\TdtWrapper.mak all \
TYPE=SDB NAME=TdtWrapper STRING_CONSUMERS=$(TdtWrapper_DIR)\TDTSetup.sd
#*************************************************************************
#*************************************************************************
#** **
#** (C)Copyright 1985-2010, American Megatrends, Inc. **
#** **
#** All Rights Reserved. **
#** **
#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
#** **
#** Phone: (770)-246-8600 **
#** **
#*************************************************************************
#*************************************************************************
|