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

#**********************************************************************
# $Header: /Alaska/BIN/Core/Runtime/Runtime.mak 8     6/24/09 4:28p Robert $
#
# $Revision: 8 $
#
# $Date: 6/24/09 4:28p $
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/Core/Runtime/Runtime.mak $
# 
# 8     6/24/09 4:28p Robert
# updated file description
# 
# 7     5/14/09 9:38a Felixp
# New feature: SMM version of Runtime Services
# Runtime driver is updated to install SMM version of the runtime
# services table.
# NVRAM driver is updated to populate SMM runtime table 
#   with the pointers to SMM version of variable services.
# 
# 6     5/01/09 6:11p Felixp
# Bug fix(EIP 19816). $(AMICSPLib) is linked with Runtime module
# (Used to be linked with NVRAM library that caused problems on systems
# without Core Sources).
# 
# 5     8/24/06 9:17a Felixp
# Preliminary x64 support (work in progress)
# 
# 4     12/02/05 11:16a Felixp
# @set INCLUDE=%%INCLUDE%% removed since it's not needed.
# 
# 3     6/16/05 10:48a Felixp
# NVRAMTokens.c replaced with Tokens.c
# 
# 2     2/11/05 5:48p Felixp
# Binary files organization improved:
#   - extra layer of sub-component removed
#   - macros initialization moved to SDL tokens to eliminate undefined
# macros situation
#   - debug and release binaries have different names now (workaround for
# VeB limitation)
#   - binaries reside in the component home directory (eliminates
# hardcoded paths)
# 
# 3     1/18/05 3:22p Felixp
# PrintDebugMessage renamed to Trace
# 
#**********************************************************************
#<AMI_FHDR_START>
#
# Name:	Runtime.mak
#
# Description:	
#   This file contains the build commands for the Runtime binary 
#   components.
#
#<AMI_FHDR_END>
#**********************************************************************
all : RUNTIME

RUNTIME : CORE_PEI $(BUILD_DIR)\RUNTIME.mak RUNTIMEBin

$(BUILD_DIR)\RUNTIME.mak : $(RUNTIME_DIR)\$(@B).cif $(RUNTIME_DIR)\$(@B).mak $(BUILD_RULES)
	$(CIF2MAK) $(RUNTIME_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)

RUNTIMEBin : $(AMIDXELIB) $(Runtime_LIB) $(FLASHLIB) $(AMICSPLib)
	$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
		/f $(BUILD_DIR)\RUNTIME.mak all\
		GUID=CBC59C4A-383A-41eb-A8EE-4498AEA567E4 \
		ENTRY_POINT=RuntimeEntry \
		TYPE=RT_DRIVER LIBRARIES= \
		COMPRESS=1\
		"INIT_LIST=$(RuntimeInitialize)"\
        "INIT_LIST2=$(RuntimeSmmInitialize)"
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2009, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093        **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************