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

#*************************************************************************
#<AMI_FHDR_START>
#
# Name: MeSsdt.mak
#
# Description: MAK file for the ModulePart:MeSsdt
# 
#
#<AMI_FHDR_END>
#*************************************************************************
all : BuildMeSsdt

BuildMeSsdt : $(BUILD_DIR)\MeSsdt.ffs

#-----------------------------------------------------------------------
# ASL compiler definition
#-----------------------------------------------------------------------
!IF "$(ACPIPLATFORM_ASL_COMPILER)"==""
!ERROR It is an invalid path, please check your ASL compiler path.
!ENDIF

IASL = $(ACPIPLATFORM_ASL_COMPILER)  
#-----------------------------------------------------------------------
$(BUILD_DIR)\MeSsdt.aml : $(INTEL_MESSDT_ASL_FILE) 
  $(CP) /FI$(BUILD_DIR)\tokenasl.h $(INTEL_MESSDT_ASL_FILE) > $(BUILD_DIR)\MeSsdt.asl
  $(ASLEXPANDER) $(BUILD_DIR)\MeSsdt.asl $(BUILD_DIR)\MeSsdt_Temp.asl $(BUILD_DIR) 
  $(IASL) -p $(BUILD_DIR)\MeSsdt.aml $(BUILD_DIR)\MeSsdt_Temp.asl


$(BUILD_DIR)\MeSsdt.sec: $(BUILD_DIR)\MeSsdt.aml
  $(GENSECTION) -I $*.aml -O $@ -S EFI_SECTION_RAW

$(BUILD_DIR)\MeSsdt.ffs: $(BUILD_DIR)\MeSsdt.sec
  $(GENFFSFILE) -B $(BUILD_DIR) -V -o $@ -P1 <<$(BUILD_DIR)\MeSsdt.pkg

PACKAGE.INF
[.]
BASE_NAME                   = MeSsdt
FFS_FILEGUID                = 9A8F82D5-39B1-48DA-92DC-A22DA8834DF6
FFS_FILETYPE                = EFI_FV_FILETYPE_FREEFORM
FFS_ATTRIB_CHECKSUM         = TRUE

IMAGE_SCRIPT =
{
  Compress (dummy) {
	$(PROJECT_DIR)\$(BUILD_DIR)\MeSsdt.sec
  }
}
<<KEEP