1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 295b482a8SLen Brown# 395b482a8SLen Brown# Makefile for ACPICA Core interpreter 495b482a8SLen Brown# 595b482a8SLen Brown 6*8f9e0a52SMark Rutlandccflags-y := -D_LINUX -DBUILDING_ACPICA 795b482a8SLen Brownccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT 895b482a8SLen Brown 951991763SLen Brown# use acpi.o to put all files here into acpi.o modparam namespace 1051991763SLen Brownobj-y += acpi.o 1151991763SLen Brown 125dc46c3fSLin Mingacpi-y := \ 135dc46c3fSLin Ming dsargs.o \ 145dc46c3fSLin Ming dscontrol.o \ 150bac4295SLv Zheng dsdebug.o \ 165dc46c3fSLin Ming dsfield.o \ 175dc46c3fSLin Ming dsinit.o \ 185dc46c3fSLin Ming dsmethod.o \ 195dc46c3fSLin Ming dsmthdat.o \ 205dc46c3fSLin Ming dsobject.o \ 215dc46c3fSLin Ming dsopcode.o \ 22a62a7117SBob Moore dspkginit.o \ 235dc46c3fSLin Ming dsutils.o \ 245dc46c3fSLin Ming dswexec.o \ 255dc46c3fSLin Ming dswload.o \ 265dc46c3fSLin Ming dswload2.o \ 275dc46c3fSLin Ming dswscope.o \ 285dc46c3fSLin Ming dswstate.o 2995b482a8SLen Brown 305dc46c3fSLin Mingacpi-y += \ 315dc46c3fSLin Ming evevent.o \ 325dc46c3fSLin Ming evgpe.o \ 335dc46c3fSLin Ming evgpeblk.o \ 345dc46c3fSLin Ming evgpeinit.o \ 355dc46c3fSLin Ming evgpeutil.o \ 365dc46c3fSLin Ming evglock.o \ 3742f8fb75SBob Moore evhandler.o \ 385dc46c3fSLin Ming evmisc.o \ 395dc46c3fSLin Ming evregion.o \ 405dc46c3fSLin Ming evrgnini.o \ 415dc46c3fSLin Ming evsci.o \ 425dc46c3fSLin Ming evxface.o \ 435dc46c3fSLin Ming evxfevnt.o \ 445dc46c3fSLin Ming evxfgpe.o \ 455dc46c3fSLin Ming evxfregn.o 4695b482a8SLen Brown 475dc46c3fSLin Mingacpi-y += \ 48890b090eSBob Moore exconcat.o \ 495dc46c3fSLin Ming exconfig.o \ 505dc46c3fSLin Ming exconvrt.o \ 515dc46c3fSLin Ming excreate.o \ 525dc46c3fSLin Ming exdebug.o \ 535dc46c3fSLin Ming exdump.o \ 545dc46c3fSLin Ming exfield.o \ 555dc46c3fSLin Ming exfldio.o \ 565df2e3edSBob Moore exmisc.o \ 575dc46c3fSLin Ming exmutex.o \ 585dc46c3fSLin Ming exnames.o \ 595dc46c3fSLin Ming exoparg1.o \ 605dc46c3fSLin Ming exoparg2.o \ 615dc46c3fSLin Ming exoparg3.o \ 625dc46c3fSLin Ming exoparg6.o \ 635dc46c3fSLin Ming exprep.o \ 645dc46c3fSLin Ming exregion.o \ 655dc46c3fSLin Ming exresnte.o \ 665dc46c3fSLin Ming exresolv.o \ 675dc46c3fSLin Ming exresop.o \ 689e9f8733SBob Moore exserial.o \ 695dc46c3fSLin Ming exstore.o \ 705dc46c3fSLin Ming exstoren.o \ 715dc46c3fSLin Ming exstorob.o \ 725dc46c3fSLin Ming exsystem.o \ 735df2e3edSBob Moore extrace.o \ 745dc46c3fSLin Ming exutils.o 7595b482a8SLen Brown 765dc46c3fSLin Mingacpi-y += \ 775dc46c3fSLin Ming hwacpi.o \ 7870958576SBob Moore hwesleep.o \ 795dc46c3fSLin Ming hwgpe.o \ 805dc46c3fSLin Ming hwregs.o \ 815dc46c3fSLin Ming hwsleep.o \ 825dc46c3fSLin Ming hwvalid.o \ 832feec47dSBob Moore hwxface.o \ 842feec47dSBob Moore hwxfsleep.o 8595b482a8SLen Brown 86bd23fac3SSinan Kayaacpi-$(CONFIG_PCI) += hwpci.o 8751991763SLen Brownacpi-$(ACPI_FUTURE_USAGE) += hwtimer.o 8895b482a8SLen Brown 895dc46c3fSLin Mingacpi-y += \ 905dc46c3fSLin Ming nsaccess.o \ 915dc46c3fSLin Ming nsalloc.o \ 9229a241ccSBob Moore nsarguments.o \ 9376a6225bSBob Moore nsconvert.o \ 945dc46c3fSLin Ming nsdump.o \ 955dc46c3fSLin Ming nseval.o \ 965dc46c3fSLin Ming nsinit.o \ 975dc46c3fSLin Ming nsload.o \ 985dc46c3fSLin Ming nsnames.o \ 995dc46c3fSLin Ming nsobject.o \ 1005dc46c3fSLin Ming nsparse.o \ 1015dc46c3fSLin Ming nspredef.o \ 10242f8fb75SBob Moore nsprepkg.o \ 1035dc46c3fSLin Ming nsrepair.o \ 1045dc46c3fSLin Ming nsrepair2.o \ 1055dc46c3fSLin Ming nssearch.o \ 1065dc46c3fSLin Ming nsutils.o \ 1075dc46c3fSLin Ming nswalk.o \ 1085dc46c3fSLin Ming nsxfeval.o \ 1095dc46c3fSLin Ming nsxfname.o \ 1105dc46c3fSLin Ming nsxfobj.o 11195b482a8SLen Brown 11251991763SLen Brownacpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o 11395b482a8SLen Brown 1145dc46c3fSLin Mingacpi-y += \ 1155dc46c3fSLin Ming psargs.o \ 1165dc46c3fSLin Ming psloop.o \ 11742f8fb75SBob Moore psobject.o \ 1185dc46c3fSLin Ming psopcode.o \ 11942f8fb75SBob Moore psopinfo.o \ 1205dc46c3fSLin Ming psparse.o \ 1215dc46c3fSLin Ming psscope.o \ 1225dc46c3fSLin Ming pstree.o \ 1235dc46c3fSLin Ming psutils.o \ 1245dc46c3fSLin Ming pswalk.o \ 1255dc46c3fSLin Ming psxface.o 12695b482a8SLen Brown 1275dc46c3fSLin Mingacpi-y += \ 1285dc46c3fSLin Ming rsaddr.o \ 1295dc46c3fSLin Ming rscalc.o \ 1305dc46c3fSLin Ming rscreate.o \ 1313334861bSLv Zheng rsdumpinfo.o \ 1325dc46c3fSLin Ming rsinfo.o \ 1335dc46c3fSLin Ming rsio.o \ 1345dc46c3fSLin Ming rsirq.o \ 1355dc46c3fSLin Ming rslist.o \ 1365dc46c3fSLin Ming rsmemory.o \ 1375dc46c3fSLin Ming rsmisc.o \ 1385dc46c3fSLin Ming rsserial.o \ 1395dc46c3fSLin Ming rsutils.o \ 1405dc46c3fSLin Ming rsxface.o 14195b482a8SLen Brown 1425dc46c3fSLin Mingacpi-y += \ 143c418ce19SBob Moore tbdata.o \ 1445dc46c3fSLin Ming tbfadt.o \ 1455dc46c3fSLin Ming tbfind.o \ 1465dc46c3fSLin Ming tbinstal.o \ 14742f47869SBob Moore tbprint.o \ 1485dc46c3fSLin Ming tbutils.o \ 1495dc46c3fSLin Ming tbxface.o \ 150d59b8ecdSBob Moore tbxfload.o \ 1515dc46c3fSLin Ming tbxfroot.o 15295b482a8SLen Brown 1535dc46c3fSLin Mingacpi-y += \ 154f654c0feSLin Ming utaddress.o \ 1555dc46c3fSLin Ming utalloc.o \ 1566a0df32cSBob Moore utascii.o \ 15788ec2860SBob Moore utbuffer.o \ 15851aad1a6SBob Moore utcksum.o \ 1595dc46c3fSLin Ming utcopy.o \ 160bc7db145SBob Moore utexcep.o \ 1615dc46c3fSLin Ming utdebug.o \ 1625dc46c3fSLin Ming utdecode.o \ 1635dc46c3fSLin Ming utdelete.o \ 164b6872ff9SBob Moore uterror.o \ 1655dc46c3fSLin Ming uteval.o \ 1665dc46c3fSLin Ming utglobal.o \ 16773bbca04SBob Moore uthex.o \ 1685dc46c3fSLin Ming utids.o \ 1695dc46c3fSLin Ming utinit.o \ 1705dc46c3fSLin Ming utlock.o \ 1715dc46c3fSLin Ming utmath.o \ 1725dc46c3fSLin Ming utmisc.o \ 1735dc46c3fSLin Ming utmutex.o \ 17427629196SBob Moore utnonansi.o \ 1755dc46c3fSLin Ming utobject.o \ 1765dc46c3fSLin Ming utosi.o \ 17742f8fb75SBob Moore utownerid.o \ 178c34c82bcSBob Moore utpredef.o \ 179b7b7da2aSBob Moore utresdecode.o \ 1805dc46c3fSLin Ming utresrc.o \ 1815dc46c3fSLin Ming utstate.o \ 18242f8fb75SBob Moore utstring.o \ 183fe97d287SBob Moore utstrsuppt.o \ 1845ebd2eaaSBob Moore utstrtoul64.o \ 1855dc46c3fSLin Ming utxface.o \ 186d978348bSBob Moore utxfinit.o \ 1875dc46c3fSLin Ming utxferror.o \ 1885dc46c3fSLin Ming utxfmutex.o 1896d33b6beSLv Zheng 1904d946f79SLv Zhengacpi-$(CONFIG_ACPI_DEBUGGER) += \ 1914d946f79SLv Zheng dbcmds.o \ 1924d946f79SLv Zheng dbconvert.o \ 1934d946f79SLv Zheng dbdisply.o \ 1944d946f79SLv Zheng dbexec.o \ 1954d946f79SLv Zheng dbhistry.o \ 1964d946f79SLv Zheng dbinput.o \ 1974d946f79SLv Zheng dbmethod.o \ 1984d946f79SLv Zheng dbnames.o \ 1994d946f79SLv Zheng dbobject.o \ 2004d946f79SLv Zheng dbstats.o \ 2014d946f79SLv Zheng dbutils.o \ 2024d946f79SLv Zheng dbxface.o \ 20393556118SBob Moore rsdump.o \ 2044d946f79SLv Zheng 2054d946f79SLv Zhengacpi-$(ACPI_FUTURE_USAGE) += \ 2064d946f79SLv Zheng dbfileio.o \ 2074d946f79SLv Zheng dbtest.o \ 20873bbca04SBob Moore utcache.o \ 20973bbca04SBob Moore utprint.o \ 21073bbca04SBob Moore uttrack.o \ 21173bbca04SBob Moore utuuid.o 2126d33b6beSLv Zheng 213