summaryrefslogtreecommitdiff
path: root/Board/EM/FixedBootOrder/DefaultFixedBootOrder/DefaultFixedBootOrder.mak
blob: b84c020199140326e907f6629ad45b5fc43a6fbe (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
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2012, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**             6145-F Northbelt Pkwy, Norcross, GA 30071            **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************
#**********************************************************************
# $Archive: /Alaska/BIN/Modules/Template/FixedBootOrder Demo/Board/em/FixedBootOrder/DefaultFixedBootOrder.mak $
#
# $Author: Walonli $
#
# $Revision: 2 $
#
# $Date: 8/13/14 11:20p $
#
#*****************************************************************
#*****************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/Modules/Template/FixedBootOrder Demo/Board/em/FixedBootOrder/DefaultFixedBootOrder.mak $
# 
# 2     8/13/14 11:20p Walonli
# [TAG]  		EIP180632
# [Category]  	New Feature
# [Description]  	Add FixedBootOrder Protocol to change device/group
# name.
# [Files]  		DefaultFixedBootOrder.sdl
# DefaultFixedBootOrder.c
# DefaultFixedBootOrder.mak
# DefaultFixedBootOrder.cif
# 
# 1     6/28/12 11:41a Easonchen
# Make a new FixedBootOrder module by utilizing 4.6.4.1 BDS
# functionality.
# 
#
#*****************************************************************


# MAK file for the eModule:DefaultFixedBootOrder

#<AMI_FHDR_START>
#-----------------------------------------------------------------------
# Name:	DefaultFixedBootOrder.mak
#
# Description:	This is a make file used to build component
#
#-----------------------------------------------------------------------
#<AMI_FHDR_END>
all : DefaultFixedBootOrder 

CORE_DXE_LIBBin : $(BUILD_DIR)\DefaultFixedBootOrder.obj

DefaultFixedBootOrder : $(BUILD_DIR)\DefaultFixedBootOrder.mak

#-----------------------------------------------------------------------
#			Generic dependencies
#-----------------------------------------------------------------------
$(BUILD_DIR)\DefaultFixedBootOrder.mak : $(DefaultFixedBootOrder_DIR)\$(@B).cif $(DefaultFixedBootOrder_DIR)\$(@B).mak DefaultFixedBootOrderElink $(BUILD_RULES)
	$(CIF2MAK) $(DefaultFixedBootOrder_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)

#-----------------------------------------------------------------------
# Paths and other definitions
#-----------------------------------------------------------------------

#-----------------------------------------------------------------------
# AMICSP library files compilation
#-----------------------------------------------------------------------
{$(DefaultFixedBootOrder_DIR)}.c{$(BUILD_DIR)}.obj::
	$(CC) $(CFLAGS) /I $(INCLUDE_DIR) /I $(TSEBIN_DIR)\inc /I $(FixedBootOrder_DIR) /I $(DefaultFixedBootOrder_DIR) /I $(Foundation_DIR) /I $(CORE_DXE_DIR) /Fo$(BUILD_DIR)\ $<

#-----------------------------------------------------------------------
#		Create OEM Boot Order Setup Screens
#-----------------------------------------------------------------------
SetupSdbs : $(BUILD_DIR)\DefaultFixedBootOrder.mak DefaultFixedBootOrderSDB

DefaultFixedBootOrderSDB :
	$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
		/f $(BUILD_DIR)\DefaultFixedBootOrder.mak all\
		TYPE=SDB NAME=DefaultFixedBootOrder MAKEFILE=$(BUILD_DIR)\DefaultFixedBootOrder.mak STRING_CONSUMERS=$(DefaultFixedBootOrder_DIR)\DefaultFixedBootOrder.sd

DefaultFixedBootOrderElink :
	$(SILENT)type << >$(BUILD_DIR)\DefaultFixedBootOrder.h
#define FBO_CHANGE_DEVICE_NAME_FUNCS $(FBO_ChangeDeviceNameFunctions)$(EOL)
<<

#-----------------------------------------------------------------------
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2012, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**             6145-F Northbelt Pkwy, Norcross, GA 30071            **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************