aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/acpi/Makefile
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-07-07 22:07:19 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-08 08:22:26 -0400
commit3c9349c93712f68dc9fc4caadb2fc1b7c9407316 (patch)
tree98684dea66a38606bbc05ba19190c20c89ab0277 /tools/power/acpi/Makefile
parentd9cf147dbd9cef05fa08bcc1dda9b2d14d9fe567 (diff)
ACPICA: Common: Enhance cm_get_file_size() to improve portability
This patch uses abstract file IO and acpi_log_error() APIs to enhance cm_get_file_size() so that applications that invoke this API could have portability improved. With actual references added to abstract file IO and acpi_log_error(), the applications need to link oslibcfs.o, utdebug.o, utexcep.o, utmath.o, utprint.o and utxferror.o. It is also required to add acpi_os_initialize() invocations if an application starts to use acpi_log_error(). acpidump has already invoked acpi_os_initialize() in this way. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/power/acpi/Makefile')
-rw-r--r--tools/power/acpi/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile
index f88a251863c5..3d1537b93c64 100644
--- a/tools/power/acpi/Makefile
+++ b/tools/power/acpi/Makefile
@@ -112,11 +112,14 @@ DUMP_OBJS = \
112 tbprint.o\ 112 tbprint.o\
113 tbxfroot.o\ 113 tbxfroot.o\
114 utbuffer.o\ 114 utbuffer.o\
115 utdebug.o\
115 utexcep.o\ 116 utexcep.o\
116 utglobal.o\ 117 utglobal.o\
117 utmath.o\ 118 utmath.o\
119 utprint.o\
118 utstring.o\ 120 utstring.o\
119 utxferror.o\ 121 utxferror.o\
122 oslibcfs.o\
120 oslinuxtbl.o\ 123 oslinuxtbl.o\
121 cmfsize.o\ 124 cmfsize.o\
122 getopt.o 125 getopt.o