linux/tools/power/acpi
Jiri Slaby 7553961631 tools: power/acpi, revert to LD = gcc
Commit 7ed1c1901f (tools: fix cross-compile var clobbering) removed
setting of LD to $(CROSS_COMPILE)gcc. This broke build of acpica
(acpidump) in power/acpi:
 ld: unrecognized option '-D_LINUX'

The tools pass CFLAGS to the linker (incl. -D_LINUX), so revert this
particular change and let LD be $(CC) again. Note that the old behaviour
was a bit different, it used $(CROSS_COMPILE)gcc which was eliminated by
the commit 7ed1c1901f. We use $(CC) for that reason.

Fixes: 7ed1c1901f (tools: fix cross-compile var clobbering)
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: 4.16+ <stable@vger.kernel.org> # 4.16+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-05-04 11:24:22 +02:00
..
common ACPICA: adding SPDX headers 2018-03-18 19:08:05 +01:00
man ACPI / acpidump: Update acpidump manual 2015-07-01 23:17:55 +02:00
os_specific/service_layers ACPICA: adding SPDX headers 2018-03-18 19:08:05 +01:00
tools ACPICA: adding SPDX headers 2018-03-18 19:08:05 +01:00
.gitignore tools/power/acpi: Add .gitignore file 2017-05-12 23:05:00 +02:00
Makefile tools/power/acpi: Add userspace AML interface support 2015-12-15 00:17:44 +01:00
Makefile.config tools: power/acpi, revert to LD = gcc 2018-05-04 11:24:22 +02:00
Makefile.rules tools/power/acpi: Remove direct kernel source include reference 2016-11-16 22:31:26 +01:00