From 7e49bda60bb160cb5f35a246f70ed06515ddb0e8 Mon Sep 17 00:00:00 2001 From: Lv Zheng Date: Wed, 25 Jun 2014 16:15:57 +0800 Subject: [PATCH] OSL: Add ACPI_APITS and re-enables AAPITS builds. Newly added portable OSLs are useful for EFI porting, but tests didn't cover AAPITS, now AAPITS build is broken. This patch re-enables AAPITS build. This patch also adds ACPI_APITS definition so that if we have troubles in sharing code between AAPITS and ACPI_EXEC_APP, we now have means to introduce differntiations. Lv Zheng. Signed-off-by: Lv Zheng --- tests/aapits/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/aapits/Makefile b/tests/aapits/Makefile index 81971fad62..188ffa955a 100644 --- a/tests/aapits/Makefile +++ b/tests/aapits/Makefile @@ -15,11 +15,12 @@ SRCS= atexec.c atmain.c \ atosxfctrl.c \ atosxfwrap.c \ osunixxf.c \ + ../../source/common/ahids.c \ + ../../source/common/cmfsize.c \ + ../../source/common/getopt.c \ ../../source/components/hardware/hwtimer.c \ ../../source/components/hardware/hwvalid.c \ ../../source/components/hardware/hwxface.c \ - ../../source/common/cmfsize.c \ - ../../source/common/getopt.c \ ../../source/components/debugger/dbcmds.c \ ../../source/components/debugger/dbconvert.c \ ../../source/components/debugger/dbdisply.c \ @@ -151,6 +152,7 @@ SRCS= atexec.c atmain.c \ ../../source/components/resources/rsutils.c \ ../../source/components/resources/rsxface.c \ ../../source/components/resources/rsinfo.c \ + ../../source/components/tables/tbdata.c \ ../../source/components/tables/tbfadt.c \ ../../source/components/tables/tbfind.c \ ../../source/components/tables/tbinstal.c \ @@ -170,6 +172,7 @@ SRCS= atexec.c atmain.c \ ../../source/components/utilities/uterror.c \ ../../source/components/utilities/uteval.c \ ../../source/components/utilities/utexcep.c \ + ../../source/components/utilities/utfileio.c \ ../../source/components/utilities/utglobal.c \ ../../source/components/utilities/utids.c \ ../../source/components/utilities/utinit.c \ @@ -181,17 +184,19 @@ SRCS= atexec.c atmain.c \ ../../source/components/utilities/utosi.c \ ../../source/components/utilities/utownerid.c \ ../../source/components/utilities/utpredef.c \ + ../../source/components/utilities/utprint.c \ ../../source/components/utilities/utresrc.c \ ../../source/components/utilities/utstate.c \ ../../source/components/utilities/utstring.c \ ../../source/components/utilities/uttrack.c \ ../../source/components/utilities/utxface.c \ ../../source/components/utilities/utxferror.c \ - ../../source/components/utilities/utxfinit.c -# ../../source/components/osunixxf.c + ../../source/components/utilities/utxfinit.c \ + ../../source/os_specific/service_layers/oslibcfs.c +# ../../source/os_specific/service_layers/osunixxf.c -CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../source/include +CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_APITS -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../source/include acpiexec : $(patsubst %.c,%.o, $(SRCS))