summaryrefslogtreecommitdiff
path: root/ReferenceCode/Chipset/LynxPoint/Library/PchPciExpressHelpersLib/PchPciExpressHelpersLib.mak
blob: e8ce73e9fce80eb1347cc49f753cc6139f5974b5 (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 1985-2011, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************

#*************************************************************************
# $Header: /Alaska/BIN/Chipset/Intel/SouthBridge/LynxPoint/Intel Pch SB Refcode/PchLib/PchPciExpressHelpersLib/PchPciExpressHelpersLib.mak 2     10/16/12 4:57a Scottyang $
#
# $Revision: 2 $
#
# $Date: 10/16/12 4:57a $
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/Chipset/Intel/SouthBridge/LynxPoint/Intel Pch SB Refcode/PchLib/PchPciExpressHelpersLib/PchPciExpressHelpersLib.mak $
# 
# 2     10/16/12 4:57a Scottyang
# [TAG]  		EIP84720
# [Category]  	Improvement
# [Description]  	Support Hot-Plug in Shark Bay
# [Files]  		PchRootPort.c, PchPcie.asl, PchPciExpressHelpersLib.mak,
# PchPciExpressHlpersLibrary.c, SB.sdl
# 
# 1     2/08/12 8:47a Yurenlai
# Intel Lynx Point/SB eChipset initially releases.
#
#*************************************************************************
all : PchPciExpressHelpersLib

PchPciExpressHelpersLib : PchPciExpressHelpersDxeLib PchPciExpressHelpersPeiLib

$(PchPciExpressHelpersDxeLib_LIB) : PchPciExpressHelpersDxeLib
$(PchPciExpressHelpersPeiLib_LIB) : PchPciExpressHelpersPeiLib

PchPciExpressHelpersDxeLib : $(BUILD_DIR)\PchPciExpressHelpersLib.mak PchPciExpressHelpersLibDxeBin
PchPciExpressHelpersPeiLib : $(BUILD_DIR)\PchPciExpressHelpersLib.mak PchPciExpressHelpersLibPeiBin

$(BUILD_DIR)\PchPciExpressHelpersLib.mak : $(PchPciExpressHelpersLib_DIR)\$(@B).cif $(PchPciExpressHelpersLib_DIR)\$(@B).mak $(BUILD_RULES)
  $(CIF2MAK) $(PchPciExpressHelpersLib_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)

PchPciExpressHelpersLib_INCLUDES=\
            $(EDK_INCLUDES)\
            $(EdkIIGlueLib_INCLUDES)\
            $(INTEL_PCH_INCLUDES)\

PchPciExpressHelpersLib_DEFINES=\
            $(CFLAGS)\
    
PchPciExpressHelpersLibDxeBin:
            $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS)\
            /f $(BUILD_DIR)\PchPciExpressHelpersLib.mak all \
            "MY_INCLUDES=$(PchPciExpressHelpersLib_INCLUDES)" \
            TYPE=LIBRARY LIBRARIES= \
            LIBRARY_NAME=$(PchPciExpressHelpersDxeLib_LIB)

PchPciExpressHelpersLibPeiBin: 
!IF "$(x64_BUILD)"=="1" 
            $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS) BUILD_DIR=$(BUILD_DIR)\IA32\
!ELSE
            $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS)\
!ENDIF
            /f $(BUILD_DIR)\PchPciExpressHelpersLib.mak all \
            "MY_INCLUDES=$(PchPciExpressHelpersLib_INCLUDES)" \
            "MY_DEFINES=$(PchPciExpressHelpersLib_DEFINES)" \
            LIBRARIES= \
            TYPE=PEI_LIBRARY LIBRARY_NAME=$(PchPciExpressHelpersPeiLib_LIB)
#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2011, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************