xref: /openbmc/linux/drivers/acpi/acpica/Makefile (revision b7b7da2a)
195b482a8SLen Brown#
295b482a8SLen Brown# Makefile for ACPICA Core interpreter
395b482a8SLen Brown#
495b482a8SLen Brown
56895baa6SLv Zhengccflags-y			:= -Os -D_LINUX -DBUILDING_ACPICA
695b482a8SLen Brownccflags-$(CONFIG_ACPI_DEBUG)	+= -DACPI_DEBUG_OUTPUT
795b482a8SLen Brown
851991763SLen Brown# use acpi.o to put all files here into acpi.o modparam namespace
951991763SLen Brownobj-y	+= acpi.o
1051991763SLen Brown
115dc46c3fSLin Mingacpi-y :=		\
125dc46c3fSLin Ming	dsargs.o	\
135dc46c3fSLin Ming	dscontrol.o	\
140bac4295SLv Zheng	dsdebug.o	\
155dc46c3fSLin Ming	dsfield.o	\
165dc46c3fSLin Ming	dsinit.o	\
175dc46c3fSLin Ming	dsmethod.o	\
185dc46c3fSLin Ming	dsmthdat.o	\
195dc46c3fSLin Ming	dsobject.o	\
205dc46c3fSLin Ming	dsopcode.o	\
215dc46c3fSLin Ming	dsutils.o	\
225dc46c3fSLin Ming	dswexec.o	\
235dc46c3fSLin Ming	dswload.o	\
245dc46c3fSLin Ming	dswload2.o	\
255dc46c3fSLin Ming	dswscope.o	\
265dc46c3fSLin Ming	dswstate.o
2795b482a8SLen Brown
285dc46c3fSLin Mingacpi-y +=		\
295dc46c3fSLin Ming	evevent.o	\
305dc46c3fSLin Ming	evgpe.o		\
315dc46c3fSLin Ming	evgpeblk.o	\
325dc46c3fSLin Ming	evgpeinit.o	\
335dc46c3fSLin Ming	evgpeutil.o	\
345dc46c3fSLin Ming	evglock.o	\
3542f8fb75SBob Moore	evhandler.o	\
365dc46c3fSLin Ming	evmisc.o	\
375dc46c3fSLin Ming	evregion.o	\
385dc46c3fSLin Ming	evrgnini.o	\
395dc46c3fSLin Ming	evsci.o		\
405dc46c3fSLin Ming	evxface.o	\
415dc46c3fSLin Ming	evxfevnt.o	\
425dc46c3fSLin Ming	evxfgpe.o	\
435dc46c3fSLin Ming	evxfregn.o
4495b482a8SLen Brown
455dc46c3fSLin Mingacpi-y +=		\
46890b090eSBob Moore	exconcat.o	\
475dc46c3fSLin Ming	exconfig.o	\
485dc46c3fSLin Ming	exconvrt.o	\
495dc46c3fSLin Ming	excreate.o	\
505dc46c3fSLin Ming	exdebug.o	\
515dc46c3fSLin Ming	exdump.o	\
525dc46c3fSLin Ming	exfield.o	\
535dc46c3fSLin Ming	exfldio.o	\
545df2e3edSBob Moore	exmisc.o	\
555dc46c3fSLin Ming	exmutex.o	\
565dc46c3fSLin Ming	exnames.o	\
575dc46c3fSLin Ming	exoparg1.o	\
585dc46c3fSLin Ming	exoparg2.o	\
595dc46c3fSLin Ming	exoparg3.o	\
605dc46c3fSLin Ming	exoparg6.o	\
615dc46c3fSLin Ming	exprep.o	\
625dc46c3fSLin Ming	exregion.o	\
635dc46c3fSLin Ming	exresnte.o	\
645dc46c3fSLin Ming	exresolv.o	\
655dc46c3fSLin Ming	exresop.o	\
665dc46c3fSLin Ming	exstore.o	\
675dc46c3fSLin Ming	exstoren.o	\
685dc46c3fSLin Ming	exstorob.o	\
695dc46c3fSLin Ming	exsystem.o	\
705df2e3edSBob Moore	extrace.o	\
715dc46c3fSLin Ming	exutils.o
7295b482a8SLen Brown
735dc46c3fSLin Mingacpi-y +=		\
745dc46c3fSLin Ming	hwacpi.o	\
7570958576SBob Moore	hwesleep.o	\
765dc46c3fSLin Ming	hwgpe.o		\
775dc46c3fSLin Ming	hwpci.o		\
785dc46c3fSLin Ming	hwregs.o	\
795dc46c3fSLin Ming	hwsleep.o	\
805dc46c3fSLin Ming	hwvalid.o	\
812feec47dSBob Moore	hwxface.o	\
822feec47dSBob Moore	hwxfsleep.o
8395b482a8SLen Brown
8451991763SLen Brownacpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
8595b482a8SLen Brown
865dc46c3fSLin Mingacpi-y +=		\
875dc46c3fSLin Ming	nsaccess.o	\
885dc46c3fSLin Ming	nsalloc.o	\
8929a241ccSBob Moore	nsarguments.o	\
9076a6225bSBob Moore	nsconvert.o	\
915dc46c3fSLin Ming	nsdump.o	\
925dc46c3fSLin Ming	nseval.o	\
935dc46c3fSLin Ming	nsinit.o	\
945dc46c3fSLin Ming	nsload.o	\
955dc46c3fSLin Ming	nsnames.o	\
965dc46c3fSLin Ming	nsobject.o	\
975dc46c3fSLin Ming	nsparse.o	\
985dc46c3fSLin Ming	nspredef.o	\
9942f8fb75SBob Moore	nsprepkg.o	\
1005dc46c3fSLin Ming	nsrepair.o	\
1015dc46c3fSLin Ming	nsrepair2.o	\
1025dc46c3fSLin Ming	nssearch.o	\
1035dc46c3fSLin Ming	nsutils.o	\
1045dc46c3fSLin Ming	nswalk.o	\
1055dc46c3fSLin Ming	nsxfeval.o	\
1065dc46c3fSLin Ming	nsxfname.o	\
1075dc46c3fSLin Ming	nsxfobj.o
10895b482a8SLen Brown
10951991763SLen Brownacpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
11095b482a8SLen Brown
1115dc46c3fSLin Mingacpi-y +=		\
1125dc46c3fSLin Ming	psargs.o	\
1135dc46c3fSLin Ming	psloop.o	\
11442f8fb75SBob Moore	psobject.o	\
1155dc46c3fSLin Ming	psopcode.o	\
11642f8fb75SBob Moore	psopinfo.o	\
1175dc46c3fSLin Ming	psparse.o	\
1185dc46c3fSLin Ming	psscope.o	\
1195dc46c3fSLin Ming	pstree.o	\
1205dc46c3fSLin Ming	psutils.o	\
1215dc46c3fSLin Ming	pswalk.o	\
1225dc46c3fSLin Ming	psxface.o
12395b482a8SLen Brown
1245dc46c3fSLin Mingacpi-y +=		\
1255dc46c3fSLin Ming	rsaddr.o	\
1265dc46c3fSLin Ming	rscalc.o	\
1275dc46c3fSLin Ming	rscreate.o	\
1283334861bSLv Zheng	rsdumpinfo.o	\
1295dc46c3fSLin Ming	rsinfo.o	\
1305dc46c3fSLin Ming	rsio.o		\
1315dc46c3fSLin Ming	rsirq.o		\
1325dc46c3fSLin Ming	rslist.o	\
1335dc46c3fSLin Ming	rsmemory.o	\
1345dc46c3fSLin Ming	rsmisc.o	\
1355dc46c3fSLin Ming	rsserial.o	\
1365dc46c3fSLin Ming	rsutils.o	\
1375dc46c3fSLin Ming	rsxface.o
13895b482a8SLen Brown
1395dc46c3fSLin Mingacpi-y +=		\
140c418ce19SBob Moore	tbdata.o	\
1415dc46c3fSLin Ming	tbfadt.o	\
1425dc46c3fSLin Ming	tbfind.o	\
1435dc46c3fSLin Ming	tbinstal.o	\
14442f47869SBob Moore	tbprint.o	\
1455dc46c3fSLin Ming	tbutils.o	\
1465dc46c3fSLin Ming	tbxface.o	\
147d59b8ecdSBob Moore	tbxfload.o	\
1485dc46c3fSLin Ming	tbxfroot.o
14995b482a8SLen Brown
1505dc46c3fSLin Mingacpi-y +=		\
151f654c0feSLin Ming	utaddress.o	\
1525dc46c3fSLin Ming	utalloc.o	\
1536a0df32cSBob Moore	utascii.o	\
15488ec2860SBob Moore	utbuffer.o	\
1555dc46c3fSLin Ming	utcopy.o	\
156bc7db145SBob Moore	utexcep.o	\
1575dc46c3fSLin Ming	utdebug.o	\
1585dc46c3fSLin Ming	utdecode.o	\
1595dc46c3fSLin Ming	utdelete.o	\
160b6872ff9SBob Moore	uterror.o	\
1615dc46c3fSLin Ming	uteval.o	\
1625dc46c3fSLin Ming	utglobal.o	\
16373bbca04SBob Moore	uthex.o		\
1645dc46c3fSLin Ming	utids.o		\
1655dc46c3fSLin Ming	utinit.o	\
1665dc46c3fSLin Ming	utlock.o	\
1675dc46c3fSLin Ming	utmath.o	\
1685dc46c3fSLin Ming	utmisc.o	\
1695dc46c3fSLin Ming	utmutex.o	\
17027629196SBob Moore	utnonansi.o	\
1715dc46c3fSLin Ming	utobject.o	\
1725dc46c3fSLin Ming	utosi.o		\
17342f8fb75SBob Moore	utownerid.o	\
174c34c82bcSBob Moore	utpredef.o	\
175b7b7da2aSBob Moore	utresdecode.o	\
1765dc46c3fSLin Ming	utresrc.o	\
1775dc46c3fSLin Ming	utstate.o	\
17842f8fb75SBob Moore	utstring.o	\
1795ebd2eaaSBob Moore	utstrtoul64.o	\
1805dc46c3fSLin Ming	utxface.o	\
181d978348bSBob Moore	utxfinit.o	\
1825dc46c3fSLin Ming	utxferror.o	\
1835dc46c3fSLin Ming	utxfmutex.o
1846d33b6beSLv Zheng
1854d946f79SLv Zhengacpi-$(CONFIG_ACPI_DEBUGGER) +=	\
1864d946f79SLv Zheng	dbcmds.o		\
1874d946f79SLv Zheng	dbconvert.o		\
1884d946f79SLv Zheng	dbdisply.o		\
1894d946f79SLv Zheng	dbexec.o		\
1904d946f79SLv Zheng	dbhistry.o		\
1914d946f79SLv Zheng	dbinput.o		\
1924d946f79SLv Zheng	dbmethod.o		\
1934d946f79SLv Zheng	dbnames.o		\
1944d946f79SLv Zheng	dbobject.o		\
1954d946f79SLv Zheng	dbstats.o		\
1964d946f79SLv Zheng	dbutils.o		\
1974d946f79SLv Zheng	dbxface.o		\
19893556118SBob Moore	rsdump.o		\
1994d946f79SLv Zheng
2004d946f79SLv Zhengacpi-$(ACPI_FUTURE_USAGE) +=	\
2014d946f79SLv Zheng	dbfileio.o		\
2024d946f79SLv Zheng	dbtest.o		\
20373bbca04SBob Moore	utcache.o		\
20473bbca04SBob Moore	utprint.o		\
20573bbca04SBob Moore	uttrack.o		\
20673bbca04SBob Moore	utuuid.o
2076d33b6beSLv Zheng
208