tools/power/acpi: Remove direct kernel source include reference

Avoid breaking cross-compiled ACPI tools builds by rearranging the
handling of kernel header files.

This patch also contains OUTPUT/srctree cleanups in order to make above fix
working for various build environments.

Fixes: e323c02dee59 (ACPICA: MSVC9: Fix <sys/stat.h> inclusion order issue)
Reported-and-tested-by: Yisheng Xie <>
Reported-by: Andy Shevchenko <>
Signed-off-by: Lv Zheng <>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <>
6 files changed