xref: /openbmc/linux/drivers/acpi/acpica/Makefile (revision ba61bb17)
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	exstore.o	\
69	exstoren.o	\
70	exstorob.o	\
71	exsystem.o	\
72	extrace.o	\
73	exutils.o
74
75acpi-y +=		\
76	hwacpi.o	\
77	hwesleep.o	\
78	hwgpe.o		\
79	hwpci.o		\
80	hwregs.o	\
81	hwsleep.o	\
82	hwvalid.o	\
83	hwxface.o	\
84	hwxfsleep.o
85
86acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
87
88acpi-y +=		\
89	nsaccess.o	\
90	nsalloc.o	\
91	nsarguments.o	\
92	nsconvert.o	\
93	nsdump.o	\
94	nseval.o	\
95	nsinit.o	\
96	nsload.o	\
97	nsnames.o	\
98	nsobject.o	\
99	nsparse.o	\
100	nspredef.o	\
101	nsprepkg.o	\
102	nsrepair.o	\
103	nsrepair2.o	\
104	nssearch.o	\
105	nsutils.o	\
106	nswalk.o	\
107	nsxfeval.o	\
108	nsxfname.o	\
109	nsxfobj.o
110
111acpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
112
113acpi-y +=		\
114	psargs.o	\
115	psloop.o	\
116	psobject.o	\
117	psopcode.o	\
118	psopinfo.o	\
119	psparse.o	\
120	psscope.o	\
121	pstree.o	\
122	psutils.o	\
123	pswalk.o	\
124	psxface.o
125
126acpi-y +=		\
127	rsaddr.o	\
128	rscalc.o	\
129	rscreate.o	\
130	rsdumpinfo.o	\
131	rsinfo.o	\
132	rsio.o		\
133	rsirq.o		\
134	rslist.o	\
135	rsmemory.o	\
136	rsmisc.o	\
137	rsserial.o	\
138	rsutils.o	\
139	rsxface.o
140
141acpi-y +=		\
142	tbdata.o	\
143	tbfadt.o	\
144	tbfind.o	\
145	tbinstal.o	\
146	tbprint.o	\
147	tbutils.o	\
148	tbxface.o	\
149	tbxfload.o	\
150	tbxfroot.o
151
152acpi-y +=		\
153	utaddress.o	\
154	utalloc.o	\
155	utascii.o	\
156	utbuffer.o	\
157	utcopy.o	\
158	utexcep.o	\
159	utdebug.o	\
160	utdecode.o	\
161	utdelete.o	\
162	uterror.o	\
163	uteval.o	\
164	utglobal.o	\
165	uthex.o		\
166	utids.o		\
167	utinit.o	\
168	utlock.o	\
169	utmath.o	\
170	utmisc.o	\
171	utmutex.o	\
172	utnonansi.o	\
173	utobject.o	\
174	utosi.o		\
175	utownerid.o	\
176	utpredef.o	\
177	utresdecode.o	\
178	utresrc.o	\
179	utstate.o	\
180	utstring.o	\
181	utstrsuppt.o	\
182	utstrtoul64.o	\
183	utxface.o	\
184	utxfinit.o	\
185	utxferror.o	\
186	utxfmutex.o
187
188acpi-$(CONFIG_ACPI_DEBUGGER) +=	\
189	dbcmds.o		\
190	dbconvert.o		\
191	dbdisply.o		\
192	dbexec.o		\
193	dbhistry.o		\
194	dbinput.o		\
195	dbmethod.o		\
196	dbnames.o		\
197	dbobject.o		\
198	dbstats.o		\
199	dbutils.o		\
200	dbxface.o		\
201	rsdump.o		\
202
203acpi-$(ACPI_FUTURE_USAGE) +=	\
204	dbfileio.o		\
205	dbtest.o		\
206	utcache.o		\
207	utprint.o		\
208	uttrack.o		\
209	utuuid.o
210
211