blob: 23526c2963ad4ceea11e05570c6a8f2e8734b9a0 (
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
|
#**********************************************************************
#**********************************************************************
#** **
#** (C)Copyright 1985-2012, American Megatrends, Inc. **
#** **
#** All Rights Reserved. **
#** **
#** 6145-F Northbelt Pkwy, Norcross, GA 30071 **
#** **
#** Phone: (770)-246-8600 **
#** **
#**********************************************************************
#**********************************************************************
# $Header: /Alaska/BIN/Modules/Template/FixedBootOrder Demo/Board/em/FixedBootOrder/FixedBootOrder.mak 13 10/08/14 1:46a Dukeyeh $
#
# $Revision: 13 $
#
# $Date: 10/08/14 1:46a $
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/Modules/Template/FixedBootOrder Demo/Board/em/FixedBootOrder/FixedBootOrder.mak $
#
# 13 10/08/14 1:46a Dukeyeh
# [TAG] EIP184538
# [Category] Improvement
# [Description] FixedBootOrder changes the values of variables in
# StdDefaults variable and updates their checksum also if need be.
# [Files] FixedBootOrder.c
# FixedBootOrder.mak
#
# 12 1/26/13 2:57a Easonchen
# [TAG] EIP112714
# [Category] Improvement
# [Description] Add include file elink
# [Files]
# FixedBootOrder.c
# FixedBootOrder.sdl
# FixedBootOrder.mak
#
# 11 6/28/12 11:23a Easonchen
# Make a new FixedBootOrder module by utilizing 4.6.4.1 BDS
# functionality.
#
# 10 11/12/10 3:44a Easonchen
# remove $(EFICOMMONLIB)
#
# 9 9/14/10 2:41a Easonchen
# TAG: EIP41634
# 1.Add file FBOHii.obj and $(EFICOMMONLIB) to SetupBin.
#
# 8 4/15/09 3:46a Jameswang
# Added more include path for EDK.
#
# 7 3/26/09 2:45a Jameswang
# Added include path to make all #include in source files not to use any
# directory path.
#
# 6 3/02/09 3:21a Jameswang
# Improvement: Do not need to modify the TSE core files.
# Description: Separate OemFixedBootOrder to FBOSetOrder.c, this file
# will be linked with TSE source to use hook BeforeLegacyBootLaunchHook
#
# 5 2/19/09 10:27p Jameswang
# TAG: EIP19207
# Bug fix: Fixed build error if x64_BUILD=1
# Root cause: memset() is defined and linked in
# AMIDXELIB:x64CLib.c:memset and
# EFIDRIVERLIB:EFICOMMONLIB:COMPILERSTUB:memset.c
# Solution: Avoid linking EFIDRIVERLIB
#
# Also, use inference rules to make override working.
#
# 4 3/21/08 5:09a Jameswang
# (EIP12255) Do not need to link with minisetup for hooking on eLinks
# because we do not use BOOT####. BOOT#### can not control individual
# device boot order in each type.
#
# 3 2/20/08 12:56a Jameswang
# Adds header.
#
#**********************************************************************
# MAK file for the eModule:FixedBootOrder
#<AMI_FHDR_START>
#-----------------------------------------------------------------------
# Name: FixedBootOrder.mak
#
# Description: This is a make file used to build component
#
#-----------------------------------------------------------------------
#<AMI_FHDR_END>
all : FixedBootOrder
CORE_DXE_LIBBin : $(BUILD_DIR)\FBOSetOrder.obj
FixedBootOrder : $(BUILD_DIR)\FixedBootOrder.mak $(BUILD_DIR)\FixedBootOrderStrTokens.h
#-----------------------------------------------------------------------
# Generic dependencies
#-----------------------------------------------------------------------
$(BUILD_DIR)\FixedBootOrder.mak : $(@B).cif $(FixedBootOrder_DIR)\$(@B).mak $(BUILD_RULES)
$(CIF2MAK) $(@B).cif $(CIF2MAK_DEFAULTS)
#-----------------------------------------------------------------------
# Paths and other definitions
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# AMICSP library files compilation
#-----------------------------------------------------------------------
{$(FixedBootOrder_DIR)}.c{$(BUILD_DIR)}.obj::
$(CC) $(CFLAGS) /I $(TSEBIN_DIR)\inc /I $(FixedBootOrder_DIR) /I $(Foundation_DIR) /I $(CORE_DXE_DIR) /I $(NVRAM_DIR) /Fo$(BUILD_DIR)\ $<
AMITSEBin : $(BUILD_DIR)\FixedBootOrderTSE.obj
SetupBin : $(BUILD_DIR)\FixedBootOrder.obj $(BUILD_DIR)\FixedBootOrderHII.obj $(BUILD_DIR)\NVRAMDXE.lib
$(BUILD_DIR)\FixedBootOrder.obj : $(BUILD_DIR)\FixedBootOrderStrTokens.h
$(BUILD_DIR)\FixedBootOrderStrTokens.h : $(FIXEDBOOTORDER_STRTOKENS_INCLUDE_FILES)
if exist $(BUILD_DIR)\FixedBootOrderStrTokens.h del $(BUILD_DIR)\FixedBootOrderStrTokens.h
$(SILENT) for %%f in ($(**:"=)) do $(ECHO) #include "%%f" >> $@
#-----------------------------------------------------------------------
#**********************************************************************
#**********************************************************************
#** **
#** (C)Copyright 1985-2012, American Megatrends, Inc. **
#** **
#** All Rights Reserved. **
#** **
#** 6145-F Northbelt Pkwy, Norcross, GA 30071 **
#** **
#** Phone: (770)-246-8600 **
#** **
#**********************************************************************
#**********************************************************************
|