summaryrefslogtreecommitdiff
path: root/Board/EM/TCG2/Common/Setup/TcgSetup.mak
blob: b95543ca3525b93b490c381b6a873f0db889ee6d (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
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2010, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**     5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093            **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************
#**********************************************************************
# $Header: /Alaska/SOURCE/Modules/TCG2/Common/TcgSetup/TcgSetup.mak 1     4/21/14 2:18p Fredericko $
#
# $Revision: 1 $
#
# $Date: 4/21/14 2:18p $
#**********************************************************************
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/TCG2/Common/TcgSetup/TcgSetup.mak $
# 
# 1     4/21/14 2:18p Fredericko
# 
# 1     10/08/13 12:05p Fredericko
# Initial Check-In for Tpm-Next module
# 
# 1     7/10/13 5:57p Fredericko
# [TAG]  		EIP120969
# [Category]  	New Feature
# [Description]  	TCG (TPM20)
# 
# 5     11/22/11 6:44p Fredericko
# [TAG]  		EIP67286
# [Category]  	Improvement
# [Description]  	Separate out how load defaults are handled in setup
# from the TpmPwd.c
# [Files]  		1. HandleLoadDefaultsSetup.c
# 2. TcgSetup.cif
# 3. TcgSetup.mak
# 4. TpmPwd.c
# 
# 4     10/07/11 6:54p Fredericko
# 
# 3     8/26/11 3:23p Fredericko
# 
# 2     3/29/11 1:23p Fredericko
# 
# 1     3/28/11 2:57p Fredericko
# [TAG]        EIP 54642
# [Category] Improvement
# [Description] 1. Checkin Files related to TCG function override
# 2. Include TCM and TPM auto detection
# [Files] Affects all TCG files
# 
# 19    5/19/10 6:20p Fredericko
# Updated AMI copyright header
# Included File Header
# EIP 37653
# 
#*************************************************************************
#**********************************************************************
#<AMI_FHDR_START>
#
# Name:		TcgSetup.mak
#
# Description:	Make file for the OEM-specific sub-component of TCG
#
#<AMI_FHDR_END>
#**********************************************************************
all: 

$(BUILD_DIR)\TcgSetup.mak : $(TCG_SETUP_DIR)\$(@B).cif $(TCG_SETUP_DIR)\$(@B).mak $(BUILD_RULES)
	$(CIF2MAK) $(TCG_SETUP_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)

TPMTSE_CFLAGS=$(CFLAGS) \
	-I $(TSEBIN_DIR)\Inc \
	-I $(TSEBIN_DIR)\
    /I$(TcgPlatformSetupPolicy_DIR)\

!IF $(TPM_PASSWORD_AUTHENTICATION)
#---------------------------------------------------------------------------
# Compile Password customization file
#---------------------------------------------------------------------------
AMITSEBin : $(BUILD_DIR)\$(TCG_SETUP_DIR)\TPMPwd.obj

$(BUILD_DIR)\$(TCG_SETUP_DIR)\TPMPwd.obj : $(TCG_SETUP_DIR)\TPMPwd.obj
	$(CC) $(TPMTSE_CFLAGS) /Fo$(BUILD_DIR)\$(TCG_SETUP_DIR)\TPMPwd.obj $(TCG_SETUP_DIR)\TPMPwd.c
#---------------------------------------------------------------------------
!ENDIF

AMITSEBin : $(BUILD_DIR)\$(TCG_SETUP_DIR)\HandleLoadDefaultsSetup.obj

$(BUILD_DIR)\$(TCG_SETUP_DIR)\HandleLoadDefaultsSetup.obj : $(TCG_SETUP_DIR)\HandleLoadDefaultsSetup.obj
	$(CC) $(TPMTSE_CFLAGS) /Fo$(BUILD_DIR)\$(TCG_SETUP_DIR)\HandleLoadDefaultsSetup.obj $(TCG_SETUP_DIR)\HandleLoadDefaultsSetup.c

#---------------------------------------------------------------------------
#		Create TCG Setup Screens
#---------------------------------------------------------------------------
SetupSdbs :$(BUILD_DIR)\TcgSetup.mak  TCGSDB

TCGSDB :
	$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
		/f $(BUILD_DIR)\TcgSetup.mak  all\
		TYPE=SDB NAME=TcgSetup STRING_CONSUMERS=$(TCG_SETUP_DIR)\TcgSetup.sd
#---------------------------------------------------------------------------

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