summaryrefslogtreecommitdiff
path: root/Core/EM/AMIDebugRx/AMIDebugRx.mak
blob: 93f67fe76297d930d2cbacdc61fe1a708f17562c (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
#//*****************************************************************//
#//*****************************************************************//
#//*****************************************************************//
#//**                                                             **//
#//**         (C)Copyright 2009, American Megatrends, Inc.        **//
#//**                                                             **//
#//**                     All Rights Reserved.                    **//
#//**                                                             **//
#//**   5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093  **//
#//**                                                             **//
#//**                     Phone (770)-246-8600                    **//
#//**                                                             **//
#//*****************************************************************//
#//*****************************************************************//
#//*****************************************************************//
# $Header: /Alaska/BIN/Modules/AMIDebugRx/AMIDebugRx.mak 3     8/28/12 8:59a Sudhirv $Revision: 1 $
#
# $Date: 8/28/12 8:59a $
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/Modules/AMIDebugRx/AMIDebugRx.mak $(BUILD_DIR)\AMIDebugRx.mak
# 
# 3     8/28/12 8:59a Sudhirv
# Updated for AMI Debug for UEFI 2.04.0073 Label
# 
# 2     7/17/09 7:15p Madhans
# DebugRx 1.30.0022
# 
# 2     7/13/09 2:41p Sudhirv
# Updated with Coding Standards
# 
# 1     7/07/09 4:45p Sudhirv
# Restructure Binaries Created
# 
# 2     4/29/09 8:05a Sudhirv
# Updated
# 
# 1     4/29/09 7:51a Sudhirv
# AMI Debug Rx module created
#**********************************************************************
#<AMI_FHDR_START>
#
# Name:	AMIDebugRx_mak
#
# Description:	Make file for the USB Redirection component
#
#<AMI_FHDR_END>
#**********************************************************************
!IF "$(AMI_DEBUGGER_SUPPORT)"!="1" && "$(USB_REDIRECTION_SUPPORT)"!="1" && "$(AMIDEBUG_RX_SUPPORT)"=="1" && "$(PeiDebugger_SUPPORT)"=="0"
!ERROR AMIDEBUG_RX_SUPPORT requires the PeiDebugger_SUPPORT SDL token to be 1.\
 AMIDebugRx requires the PeiDebugger_SUPPORT SDL token to be enabled.
!ENDIF

!IF "$(AMI_DEBUGGER_SUPPORT)"!="1" && "$(USB_REDIRECTION_SUPPORT)"!="1" && "$(AMIDEBUG_RX_SUPPORT)"=="1" && "$(USB_DEBUG_TRANSPORT)"=="0"
!ERROR AMIDEBUG_RX_SUPPORT requires the USB_DEBUG_TRANSPORT SDL token to be 1.\
 AMIDebugRx requires the USB_DEBUG_TRANSPORT SDL token to be enabled.
!ENDIF

all : AMIDebugRx

AMIDebugRx : $(BUILD_DIR)\AMIDebugRx.mak

$(BUILD_DIR)\AMIDebugRx.mak : $(AMI_DebugRx_DIR)\$(@B).cif $(AMI_DebugRx_DIR)\$(@B).mak $(BUILD_RULES)
	$(CIF2MAK) $(AMI_DebugRx_DIR)\DebugRx.cif $(CIF2MAK_DEFAULTS)

SetupSdbs : AMIDebugRxSDB

AMIDebugRxSDB : $(BUILD_DIR)\AMIDebugRx.mak 
	$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
	/f $(BUILD_DIR)\AMIDebugRx.mak all\
	TYPE=SDB NAME=AMIDebugRx STRING_CONSUMERS=$(AMI_DebugRx_DIR)\AMIDebugRx.sd

#//*****************************************************************//
#//*****************************************************************//
#//*****************************************************************//
#//**                                                             **//
#//**         (C)Copyright 2009, American Megatrends, Inc.        **//
#//**                                                             **//
#//**                     All Rights Reserved.                    **//
#//**                                                             **//
#//**   5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093  **//
#//**                                                             **//
#//**                     Phone (770)-246-8600                    **//
#//**                                                             **//
#//*****************************************************************//
#//*****************************************************************//
#//*****************************************************************//