linux-stable/tools/power/acpi
Jiri Slaby 59ed81e1ee tools: power/acpi, revert to LD = gcc
commit 7553961631 upstream.

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>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Martin Kelly <martin@martingkelly.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-13 10:01:07 +01:00
..
common ACPICA: Source tree: Update copyright notices to 2017 2017-02-09 14:47:02 +01:00
man ACPI / acpidump: Update acpidump manual 2015-07-01 23:17:55 +02:00
os_specific/service_layers ACPICA: acpidump: Add DSDT/FACS instance support for Linux and EFI 2017-08-03 23:34:16 +02:00
tools ACPICA: CLib: Add short multiply/shift support 2017-08-03 23:34:16 +02: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 2019-01-13 10:01:07 +01:00
Makefile.rules tools/power/acpi: Remove direct kernel source include reference 2016-11-16 22:31:26 +01:00