1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for ACPICA Core interpreter
4#
5
6ccflags-y			:= -D_LINUX -DBUILDING_ACPICA
7ccflags-$(CONFIG_ACPI_DEBUG)	+= -DACPI_DEBUG_OUTPUT
8
9# use acpi.o to put all files here into acpi.o modparam namespace
10obj-y	+= acpi.o
11
12acpi-y :=		\
13	dsargs.o	\
14	dscontrol.o	\
15	dsdebug.o	\
16	dsfield.o	\
17	dsinit.o	\
18	dsmethod.o	\
19	dsmthdat.o	\
20	dsobject.o	\
21	dsopcode.o	\
22	dspkginit.o	\
23	dsutils.o	\
24	dswexec.o	\
25	dswload.o	\
26	dswload2.o	\
27	dswscope.o	\
28	dswstate.o
29
30acpi-y +=		\
31	evevent.o	\
32	evgpe.o		\
33	evgpeblk.o	\
34	evgpeinit.o	\
35	evgpeutil.o	\
36	evglock.o	\
37	evhandler.o	\
38	evmisc.o	\
39	evregion.o	\
40	evrgnini.o	\
41	evsci.o		\
42	evxface.o	\
43	evxfevnt.o	\
44	evxfgpe.o	\
45	evxfregn.o
46
47acpi-y +=		\
48	exconcat.o	\
49	exconfig.o	\
50	exconvrt.o	\
51	excreate.o	\
52	exdebug.o	\
53	exdump.o	\
54	exfield.o	\
55	exfldio.o	\
56	exmisc.o	\
57	exmutex.o	\
58	exnames.o	\
59	exoparg1.o	\
60	exoparg2.o	\
61	exoparg3.o	\
62	exoparg6.o	\
63	exprep.o	\
64	exregion.o	\
65	exresnte.o	\
66	exresolv.o	\
67	exresop.o	\
68	exserial.o	\
69	exstore.o	\
70	exstoren.o	\
71	exstorob.o	\
72	exsystem.o	\
73	extrace.o	\
74	exutils.o
75
76acpi-y +=		\
77	hwacpi.o	\
78	hwesleep.o	\
79	hwgpe.o		\
80	hwregs.o	\
81	hwsleep.o	\
82	hwvalid.o	\
83	hwxface.o	\
84	hwxfsleep.o
85
86acpi-$(CONFIG_PCI) += hwpci.o
87acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
88
89acpi-y +=		\
90	nsaccess.o	\
91	nsalloc.o	\
92	nsarguments.o	\
93	nsconvert.o	\
94	nsdump.o	\
95	nseval.o	\
96	nsinit.o	\
97	nsload.o	\
98	nsnames.o	\
99	nsobject.o	\
100	nsparse.o	\
101	nspredef.o	\
102	nsprepkg.o	\
103	nsrepair.o	\
104	nsrepair2.o	\
105	nssearch.o	\
106	nsutils.o	\
107	nswalk.o	\
108	nsxfeval.o	\
109	nsxfname.o	\
110	nsxfobj.o
111
112acpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
113
114acpi-y +=		\
115	psargs.o	\
116	psloop.o	\
117	psobject.o	\
118	psopcode.o	\
119	psopinfo.o	\
120	psparse.o	\
121	psscope.o	\
122	pstree.o	\
123	psutils.o	\
124	pswalk.o	\
125	psxface.o
126
127acpi-y +=		\
128	rsaddr.o	\
129	rscalc.o	\
130	rscreate.o	\
131	rsdumpinfo.o	\
132	rsinfo.o	\
133	rsio.o		\
134	rsirq.o		\
135	rslist.o	\
136	rsmemory.o	\
137	rsmisc.o	\
138	rsserial.o	\
139	rsutils.o	\
140	rsxface.o
141
142acpi-y +=		\
143	tbdata.o	\
144	tbfadt.o	\
145	tbfind.o	\
146	tbinstal.o	\
147	tbprint.o	\
148	tbutils.o	\
149	tbxface.o	\
150	tbxfload.o	\
151	tbxfroot.o
152
153acpi-y +=		\
154	utaddress.o	\
155	utalloc.o	\
156	utascii.o	\
157	utbuffer.o	\
158	utcksum.o	\
159	utcopy.o	\
160	utexcep.o	\
161	utdebug.o	\
162	utdecode.o	\
163	utdelete.o	\
164	uterror.o	\
165	uteval.o	\
166	utglobal.o	\
167	uthex.o		\
168	utids.o		\
169	utinit.o	\
170	utlock.o	\
171	utmath.o	\
172	utmisc.o	\
173	utmutex.o	\
174	utnonansi.o	\
175	utobject.o	\
176	utosi.o		\
177	utownerid.o	\
178	utpredef.o	\
179	utresdecode.o	\
180	utresrc.o	\
181	utstate.o	\
182	utstring.o	\
183	utstrsuppt.o	\
184	utstrtoul64.o	\
185	utxface.o	\
186	utxfinit.o	\
187	utxferror.o	\
188	utxfmutex.o
189
190acpi-$(CONFIG_ACPI_DEBUGGER) +=	\
191	dbcmds.o		\
192	dbconvert.o		\
193	dbdisply.o		\
194	dbexec.o		\
195	dbhistry.o		\
196	dbinput.o		\
197	dbmethod.o		\
198	dbnames.o		\
199	dbobject.o		\
200	dbstats.o		\
201	dbutils.o		\
202	dbxface.o		\
203	rsdump.o		\
204
205acpi-$(ACPI_FUTURE_USAGE) +=	\
206	dbfileio.o		\
207	dbtest.o		\
208	utcache.o		\
209	utprint.o		\
210	uttrack.o		\
211	utuuid.o
212
213