xref: /openbmc/linux/drivers/acpi/acpica/Makefile (revision cbdf59ad)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for ACPICA Core interpreter
4#
5
6ccflags-y			:= -Os -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	utcopy.o	\
159	utexcep.o	\
160	utdebug.o	\
161	utdecode.o	\
162	utdelete.o	\
163	uterror.o	\
164	uteval.o	\
165	utglobal.o	\
166	uthex.o		\
167	utids.o		\
168	utinit.o	\
169	utlock.o	\
170	utmath.o	\
171	utmisc.o	\
172	utmutex.o	\
173	utnonansi.o	\
174	utobject.o	\
175	utosi.o		\
176	utownerid.o	\
177	utpredef.o	\
178	utresdecode.o	\
179	utresrc.o	\
180	utstate.o	\
181	utstring.o	\
182	utstrsuppt.o	\
183	utstrtoul64.o	\
184	utxface.o	\
185	utxfinit.o	\
186	utxferror.o	\
187	utxfmutex.o
188
189acpi-$(CONFIG_ACPI_DEBUGGER) +=	\
190	dbcmds.o		\
191	dbconvert.o		\
192	dbdisply.o		\
193	dbexec.o		\
194	dbhistry.o		\
195	dbinput.o		\
196	dbmethod.o		\
197	dbnames.o		\
198	dbobject.o		\
199	dbstats.o		\
200	dbutils.o		\
201	dbxface.o		\
202	rsdump.o		\
203
204acpi-$(ACPI_FUTURE_USAGE) +=	\
205	dbfileio.o		\
206	dbtest.o		\
207	utcache.o		\
208	utprint.o		\
209	uttrack.o		\
210	utuuid.o
211
212