blob: 32d93edbc47914d56a0609c6dbf05f4f87337964 [file] [log] [blame]
Len Brown95b482a2009-01-09 00:13:17 -05001#
2# Makefile for ACPICA Core interpreter
3#
4
Lv Zheng417b4a72014-07-16 16:58:53 +08005ccflags-y := -Os -DBUILDING_ACPICA
Len Brown95b482a2009-01-09 00:13:17 -05006ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
7
Len Brown51991762009-05-07 15:24:31 -04008# use acpi.o to put all files here into acpi.o modparam namespace
9obj-y += acpi.o
10
Lin Ming5dc46c32011-11-29 14:16:05 +080011acpi-y := \
12 dsargs.o \
13 dscontrol.o \
Lv Zheng0bac4292015-07-23 12:52:46 +080014 dsdebug.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080015 dsfield.o \
16 dsinit.o \
17 dsmethod.o \
18 dsmthdat.o \
19 dsobject.o \
20 dsopcode.o \
21 dsutils.o \
22 dswexec.o \
23 dswload.o \
24 dswload2.o \
25 dswscope.o \
26 dswstate.o
Len Brown95b482a2009-01-09 00:13:17 -050027
Lin Ming5dc46c32011-11-29 14:16:05 +080028acpi-y += \
29 evevent.o \
30 evgpe.o \
31 evgpeblk.o \
32 evgpeinit.o \
33 evgpeutil.o \
34 evglock.o \
Bob Moore42f8fb72013-01-11 13:08:51 +010035 evhandler.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080036 evmisc.o \
37 evregion.o \
38 evrgnini.o \
39 evsci.o \
40 evxface.o \
41 evxfevnt.o \
42 evxfgpe.o \
43 evxfregn.o
Len Brown95b482a2009-01-09 00:13:17 -050044
Lin Ming5dc46c32011-11-29 14:16:05 +080045acpi-y += \
Bob Moore890b0902016-03-24 09:39:51 +080046 exconcat.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080047 exconfig.o \
48 exconvrt.o \
49 excreate.o \
50 exdebug.o \
51 exdump.o \
52 exfield.o \
53 exfldio.o \
Bob Moore5df2e3e2015-12-29 13:54:44 +080054 exmisc.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080055 exmutex.o \
56 exnames.o \
57 exoparg1.o \
58 exoparg2.o \
59 exoparg3.o \
60 exoparg6.o \
61 exprep.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080062 exregion.o \
63 exresnte.o \
64 exresolv.o \
65 exresop.o \
66 exstore.o \
67 exstoren.o \
68 exstorob.o \
69 exsystem.o \
Bob Moore5df2e3e2015-12-29 13:54:44 +080070 extrace.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080071 exutils.o
Len Brown95b482a2009-01-09 00:13:17 -050072
Lin Ming5dc46c32011-11-29 14:16:05 +080073acpi-y += \
74 hwacpi.o \
Bob Moore70958572012-02-14 18:47:42 +080075 hwesleep.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080076 hwgpe.o \
77 hwpci.o \
78 hwregs.o \
79 hwsleep.o \
80 hwvalid.o \
Bob Moore2feec472012-02-14 15:00:53 +080081 hwxface.o \
82 hwxfsleep.o
Len Brown95b482a2009-01-09 00:13:17 -050083
Len Brown51991762009-05-07 15:24:31 -040084acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
Len Brown95b482a2009-01-09 00:13:17 -050085
Lin Ming5dc46c32011-11-29 14:16:05 +080086acpi-y += \
87 nsaccess.o \
88 nsalloc.o \
Bob Moore29a241c2013-05-30 10:00:01 +080089 nsarguments.o \
Bob Moore76a62252013-03-08 09:23:16 +000090 nsconvert.o \
Lin Ming5dc46c32011-11-29 14:16:05 +080091 nsdump.o \
92 nseval.o \
93 nsinit.o \
94 nsload.o \
95 nsnames.o \
96 nsobject.o \
97 nsparse.o \
98 nspredef.o \
Bob Moore42f8fb72013-01-11 13:08:51 +010099 nsprepkg.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800100 nsrepair.o \
101 nsrepair2.o \
102 nssearch.o \
103 nsutils.o \
104 nswalk.o \
105 nsxfeval.o \
106 nsxfname.o \
107 nsxfobj.o
Len Brown95b482a2009-01-09 00:13:17 -0500108
Len Brown51991762009-05-07 15:24:31 -0400109acpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
Len Brown95b482a2009-01-09 00:13:17 -0500110
Lin Ming5dc46c32011-11-29 14:16:05 +0800111acpi-y += \
112 psargs.o \
113 psloop.o \
Bob Moore42f8fb72013-01-11 13:08:51 +0100114 psobject.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800115 psopcode.o \
Bob Moore42f8fb72013-01-11 13:08:51 +0100116 psopinfo.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800117 psparse.o \
118 psscope.o \
119 pstree.o \
120 psutils.o \
121 pswalk.o \
122 psxface.o
Len Brown95b482a2009-01-09 00:13:17 -0500123
Lin Ming5dc46c32011-11-29 14:16:05 +0800124acpi-y += \
125 rsaddr.o \
126 rscalc.o \
127 rscreate.o \
Lv Zheng33348612014-02-08 09:42:46 +0800128 rsdumpinfo.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800129 rsinfo.o \
130 rsio.o \
131 rsirq.o \
132 rslist.o \
133 rsmemory.o \
134 rsmisc.o \
135 rsserial.o \
136 rsutils.o \
137 rsxface.o
Len Brown95b482a2009-01-09 00:13:17 -0500138
Lin Ming5dc46c32011-11-29 14:16:05 +0800139acpi-y += \
Bob Moorec418ce12014-04-04 12:39:34 +0800140 tbdata.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800141 tbfadt.o \
142 tbfind.o \
143 tbinstal.o \
Bob Moore42f47862013-06-08 00:59:02 +0000144 tbprint.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800145 tbutils.o \
146 tbxface.o \
Bob Moored59b8ec2012-07-16 10:15:36 +0800147 tbxfload.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800148 tbxfroot.o
Len Brown95b482a2009-01-09 00:13:17 -0500149
Lin Ming5dc46c32011-11-29 14:16:05 +0800150acpi-y += \
Lin Mingf654c0f2012-01-12 13:10:32 +0800151 utaddress.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800152 utalloc.o \
Bob Moore6a0df322016-05-05 13:00:36 +0800153 utascii.o \
Bob Moore88ec2862013-06-08 00:57:47 +0000154 utbuffer.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800155 utcopy.o \
Bob Moorebc7db142012-07-16 09:10:58 +0800156 utexcep.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800157 utdebug.o \
158 utdecode.o \
159 utdelete.o \
Bob Mooreb6872ff2013-06-08 00:58:00 +0000160 uterror.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800161 uteval.o \
162 utglobal.o \
Bob Moore73bbca02014-07-30 12:21:13 +0800163 uthex.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800164 utids.o \
165 utinit.o \
166 utlock.o \
167 utmath.o \
168 utmisc.o \
169 utmutex.o \
Bob Moore27629192015-07-23 12:53:49 +0800170 utnonansi.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800171 utobject.o \
172 utosi.o \
Bob Moore42f8fb72013-01-11 13:08:51 +0100173 utownerid.o \
Bob Moorec34c82b2013-04-12 00:24:22 +0000174 utpredef.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800175 utresrc.o \
176 utstate.o \
Bob Moore42f8fb72013-01-11 13:08:51 +0100177 utstring.o \
Bob Moore5ebd2ea2016-09-07 14:14:30 +0800178 utstrtoul64.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800179 utxface.o \
Bob Moored9783482012-08-17 10:51:47 +0800180 utxfinit.o \
Lin Ming5dc46c32011-11-29 14:16:05 +0800181 utxferror.o \
182 utxfmutex.o
Lv Zheng6d33b6b2012-10-31 02:25:05 +0000183
Lv Zheng4d946f72015-10-19 10:25:56 +0800184acpi-$(CONFIG_ACPI_DEBUGGER) += \
185 dbcmds.o \
186 dbconvert.o \
187 dbdisply.o \
188 dbexec.o \
189 dbhistry.o \
190 dbinput.o \
191 dbmethod.o \
192 dbnames.o \
193 dbobject.o \
194 dbstats.o \
195 dbutils.o \
196 dbxface.o \
Bob Moore93556112015-10-19 10:24:26 +0800197 rsdump.o \
Lv Zheng4d946f72015-10-19 10:25:56 +0800198
199acpi-$(ACPI_FUTURE_USAGE) += \
200 dbfileio.o \
201 dbtest.o \
Bob Moore73bbca02014-07-30 12:21:13 +0800202 utcache.o \
Bob Moore73bbca02014-07-30 12:21:13 +0800203 utprint.o \
204 uttrack.o \
205 utuuid.o
Lv Zheng6d33b6b2012-10-31 02:25:05 +0000206