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