summaryrefslogtreecommitdiff
path: root/Board/EM/Platform/PlatformInfo/PlatformInfo.mak
blob: bc3273987bd9729e506554093ba07ee99b10af1c (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
#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2011, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************

#*************************************************************************
# $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/PlatformInfo/PlatformInfo.mak 1     2/09/12 12:33a Yurenlai $
#
# $Revision: 1 $
#
# $Date: 2/09/12 12:33a $
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/PlatformInfo/PlatformInfo.mak $
# 
# 1     2/09/12 12:33a Yurenlai
# Initial check in.
#
#*************************************************************************
#<AMI_FHDR_START>
#
# Name:         PlatformInfo.mak
#
# Description:  This make file builds AcpiPlatform module DXE 
#               components and link them to respective binary
#
#<AMI_FHDR_END>
#*************************************************************************

#---------------------------------------------------------------------------
#   Create PLATFORMINFO DXE Component
#---------------------------------------------------------------------------
all : PlatformInfo

PlatformInfo : $(BUILD_DIR)\PlatformInfo.mak PlatformInfoBin

$(BUILD_DIR)\PlatformInfo.mak : $(PlatformInfo_DIR)\PlatformInfo.cif $(PlatformInfo_DIR)\$(@B).mak $(BUILD_RULES)
 $(CIF2MAK) $(PlatformInfo_DIR)\PlatformInfo.cif $(CIF2MAK_DEFAULTS)

PLATFORM_INFO_INCLUDES = \
        $(ACPI_PLATFORM_INCLUDES)\
        $(INTEL_MCH_INCLUDES)\
        $(INTEL_PCH_INCLUDES)

PLATFORM_INFO_DEFINES = $(MY_DEFINES) $(MCH_DEFINES)\


PlatformInfoBin: $(AMIDXELIB) $(AMICSPLib)
		$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
            	/f $(BUILD_DIR)\PlatformInfo.mak all \
        	"MY_INCLUDES=$(PLATFORM_INFO_INCLUDES)"\
    		GUID=1314216C-CB8D-421c-B854-06231386E642\
    		ENTRY_POINT=PlatformInfoInit \
    		TYPE=BS_DRIVER\
    		DEPEX1=$(PlatformInfo_DIR)\PlatformInfo.dxs\
    		DEPEX1_TYPE=EFI_SECTION_DXE_DEPEX\
    		COMPRESS=1


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