1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 295b482a8SLen Brown# 395b482a8SLen Brown# Makefile for ACPICA Core interpreter 495b482a8SLen Brown# 595b482a8SLen Brown 68f9e0a52SMark Rutlandccflags-y := -D_LINUX -DBUILDING_ACPICA 795b482a8SLen Brownccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT 8673f7120SArnd BergmannCFLAGS_tbfind.o += $(call cc-disable-warning, stringop-truncation) 995b482a8SLen Brown 1051991763SLen Brown# use acpi.o to put all files here into acpi.o modparam namespace 1151991763SLen Brownobj-y += acpi.o 1251991763SLen Brown 135dc46c3fSLin Mingacpi-y := \ 145dc46c3fSLin Ming dsargs.o \ 155dc46c3fSLin Ming dscontrol.o \ 160bac4295SLv Zheng dsdebug.o \ 175dc46c3fSLin Ming dsfield.o \ 185dc46c3fSLin Ming dsinit.o \ 195dc46c3fSLin Ming dsmethod.o \ 205dc46c3fSLin Ming dsmthdat.o \ 215dc46c3fSLin Ming dsobject.o \ 225dc46c3fSLin Ming dsopcode.o \ 23a62a7117SBob Moore dspkginit.o \ 245dc46c3fSLin Ming dsutils.o \ 255dc46c3fSLin Ming dswexec.o \ 265dc46c3fSLin Ming dswload.o \ 275dc46c3fSLin Ming dswload2.o \ 285dc46c3fSLin Ming dswscope.o \ 295dc46c3fSLin Ming dswstate.o 3095b482a8SLen Brown 315dc46c3fSLin Mingacpi-y += \ 325dc46c3fSLin Ming evevent.o \ 335dc46c3fSLin Ming evgpe.o \ 345dc46c3fSLin Ming evgpeblk.o \ 355dc46c3fSLin Ming evgpeinit.o \ 365dc46c3fSLin Ming evgpeutil.o \ 375dc46c3fSLin Ming evglock.o \ 3842f8fb75SBob Moore evhandler.o \ 395dc46c3fSLin Ming evmisc.o \ 405dc46c3fSLin Ming evregion.o \ 415dc46c3fSLin Ming evrgnini.o \ 425dc46c3fSLin Ming evsci.o \ 435dc46c3fSLin Ming evxface.o \ 445dc46c3fSLin Ming evxfevnt.o \ 455dc46c3fSLin Ming evxfgpe.o \ 465dc46c3fSLin Ming evxfregn.o 4795b482a8SLen Brown 485dc46c3fSLin Mingacpi-y += \ 49890b090eSBob Moore exconcat.o \ 505dc46c3fSLin Ming exconfig.o \ 515dc46c3fSLin Ming exconvrt.o \ 525dc46c3fSLin Ming excreate.o \ 535dc46c3fSLin Ming exdebug.o \ 545dc46c3fSLin Ming exdump.o \ 555dc46c3fSLin Ming exfield.o \ 565dc46c3fSLin Ming exfldio.o \ 575df2e3edSBob Moore exmisc.o \ 585dc46c3fSLin Ming exmutex.o \ 595dc46c3fSLin Ming exnames.o \ 605dc46c3fSLin Ming exoparg1.o \ 615dc46c3fSLin Ming exoparg2.o \ 625dc46c3fSLin Ming exoparg3.o \ 635dc46c3fSLin Ming exoparg6.o \ 645dc46c3fSLin Ming exprep.o \ 655dc46c3fSLin Ming exregion.o \ 665dc46c3fSLin Ming exresnte.o \ 675dc46c3fSLin Ming exresolv.o \ 685dc46c3fSLin Ming exresop.o \ 699e9f8733SBob Moore exserial.o \ 705dc46c3fSLin Ming exstore.o \ 715dc46c3fSLin Ming exstoren.o \ 725dc46c3fSLin Ming exstorob.o \ 735dc46c3fSLin Ming exsystem.o \ 745df2e3edSBob Moore extrace.o \ 755dc46c3fSLin Ming exutils.o 7695b482a8SLen Brown 775dc46c3fSLin Mingacpi-y += \ 785dc46c3fSLin Ming hwacpi.o \ 7970958576SBob Moore hwesleep.o \ 805dc46c3fSLin Ming hwgpe.o \ 815dc46c3fSLin Ming hwregs.o \ 825dc46c3fSLin Ming hwsleep.o \ 835dc46c3fSLin Ming hwvalid.o \ 842feec47dSBob Moore hwxface.o \ 852feec47dSBob Moore hwxfsleep.o 8695b482a8SLen Brown 87bd23fac3SSinan Kayaacpi-$(CONFIG_PCI) += hwpci.o 8851991763SLen Brownacpi-$(ACPI_FUTURE_USAGE) += hwtimer.o 8995b482a8SLen Brown 905dc46c3fSLin Mingacpi-y += \ 915dc46c3fSLin Ming nsaccess.o \ 925dc46c3fSLin Ming nsalloc.o \ 9329a241ccSBob Moore nsarguments.o \ 9476a6225bSBob Moore nsconvert.o \ 955dc46c3fSLin Ming nsdump.o \ 965dc46c3fSLin Ming nseval.o \ 975dc46c3fSLin Ming nsinit.o \ 985dc46c3fSLin Ming nsload.o \ 995dc46c3fSLin Ming nsnames.o \ 1005dc46c3fSLin Ming nsobject.o \ 1015dc46c3fSLin Ming nsparse.o \ 1025dc46c3fSLin Ming nspredef.o \ 10342f8fb75SBob Moore nsprepkg.o \ 1045dc46c3fSLin Ming nsrepair.o \ 1055dc46c3fSLin Ming nsrepair2.o \ 1065dc46c3fSLin Ming nssearch.o \ 1075dc46c3fSLin Ming nsutils.o \ 1085dc46c3fSLin Ming nswalk.o \ 1095dc46c3fSLin Ming nsxfeval.o \ 1105dc46c3fSLin Ming nsxfname.o \ 1115dc46c3fSLin Ming nsxfobj.o 11295b482a8SLen Brown 11351991763SLen Brownacpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o 11495b482a8SLen Brown 1155dc46c3fSLin Mingacpi-y += \ 1165dc46c3fSLin Ming psargs.o \ 1175dc46c3fSLin Ming psloop.o \ 11842f8fb75SBob Moore psobject.o \ 1195dc46c3fSLin Ming psopcode.o \ 12042f8fb75SBob Moore psopinfo.o \ 1215dc46c3fSLin Ming psparse.o \ 1225dc46c3fSLin Ming psscope.o \ 1235dc46c3fSLin Ming pstree.o \ 1245dc46c3fSLin Ming psutils.o \ 1255dc46c3fSLin Ming pswalk.o \ 1265dc46c3fSLin Ming psxface.o 12795b482a8SLen Brown 1285dc46c3fSLin Mingacpi-y += \ 1295dc46c3fSLin Ming rsaddr.o \ 1305dc46c3fSLin Ming rscalc.o \ 1315dc46c3fSLin Ming rscreate.o \ 1323334861bSLv Zheng rsdumpinfo.o \ 1335dc46c3fSLin Ming rsinfo.o \ 1345dc46c3fSLin Ming rsio.o \ 1355dc46c3fSLin Ming rsirq.o \ 1365dc46c3fSLin Ming rslist.o \ 1375dc46c3fSLin Ming rsmemory.o \ 1385dc46c3fSLin Ming rsmisc.o \ 1395dc46c3fSLin Ming rsserial.o \ 1405dc46c3fSLin Ming rsutils.o \ 1415dc46c3fSLin Ming rsxface.o 14295b482a8SLen Brown 1435dc46c3fSLin Mingacpi-y += \ 144c418ce19SBob Moore tbdata.o \ 1455dc46c3fSLin Ming tbfadt.o \ 1465dc46c3fSLin Ming tbfind.o \ 1475dc46c3fSLin Ming tbinstal.o \ 14842f47869SBob Moore tbprint.o \ 1495dc46c3fSLin Ming tbutils.o \ 1505dc46c3fSLin Ming tbxface.o \ 151d59b8ecdSBob Moore tbxfload.o \ 1525dc46c3fSLin Ming tbxfroot.o 15395b482a8SLen Brown 1545dc46c3fSLin Mingacpi-y += \ 155f654c0feSLin Ming utaddress.o \ 1565dc46c3fSLin Ming utalloc.o \ 1576a0df32cSBob Moore utascii.o \ 15888ec2860SBob Moore utbuffer.o \ 15951aad1a6SBob Moore utcksum.o \ 1605dc46c3fSLin Ming utcopy.o \ 161bc7db145SBob Moore utexcep.o \ 1625dc46c3fSLin Ming utdebug.o \ 1635dc46c3fSLin Ming utdecode.o \ 1645dc46c3fSLin Ming utdelete.o \ 165b6872ff9SBob Moore uterror.o \ 1665dc46c3fSLin Ming uteval.o \ 1675dc46c3fSLin Ming utglobal.o \ 16873bbca04SBob Moore uthex.o \ 1695dc46c3fSLin Ming utids.o \ 1705dc46c3fSLin Ming utinit.o \ 1715dc46c3fSLin Ming utlock.o \ 1725dc46c3fSLin Ming utmath.o \ 1735dc46c3fSLin Ming utmisc.o \ 1745dc46c3fSLin Ming utmutex.o \ 17527629196SBob Moore utnonansi.o \ 1765dc46c3fSLin Ming utobject.o \ 1775dc46c3fSLin Ming utosi.o \ 17842f8fb75SBob Moore utownerid.o \ 179c34c82bcSBob Moore utpredef.o \ 180b7b7da2aSBob Moore utresdecode.o \ 1815dc46c3fSLin Ming utresrc.o \ 1825dc46c3fSLin Ming utstate.o \ 18342f8fb75SBob Moore utstring.o \ 184fe97d287SBob Moore utstrsuppt.o \ 1855ebd2eaaSBob Moore utstrtoul64.o \ 1865dc46c3fSLin Ming utxface.o \ 187d978348bSBob Moore utxfinit.o \ 1885dc46c3fSLin Ming utxferror.o \ 1895dc46c3fSLin Ming utxfmutex.o 1906d33b6beSLv Zheng 1914d946f79SLv Zhengacpi-$(CONFIG_ACPI_DEBUGGER) += \ 1924d946f79SLv Zheng dbcmds.o \ 1934d946f79SLv Zheng dbconvert.o \ 1944d946f79SLv Zheng dbdisply.o \ 1954d946f79SLv Zheng dbexec.o \ 1964d946f79SLv Zheng dbhistry.o \ 1974d946f79SLv Zheng dbinput.o \ 1984d946f79SLv Zheng dbmethod.o \ 1994d946f79SLv Zheng dbnames.o \ 2004d946f79SLv Zheng dbobject.o \ 2014d946f79SLv Zheng dbstats.o \ 2024d946f79SLv Zheng dbutils.o \ 2034d946f79SLv Zheng dbxface.o \ 20493556118SBob Moore rsdump.o \ 2054d946f79SLv Zheng 2064d946f79SLv Zhengacpi-$(ACPI_FUTURE_USAGE) += \ 2074d946f79SLv Zheng dbfileio.o \ 2084d946f79SLv Zheng dbtest.o \ 20973bbca04SBob Moore utcache.o \ 21073bbca04SBob Moore utprint.o \ 21173bbca04SBob Moore uttrack.o \ 21273bbca04SBob Moore utuuid.o 2136d33b6beSLv Zheng 214