aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2020-11-10 17:43:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-30 13:55:19 +0100
commitcb14bbbb7bbfdb9da25d24cf14f52ef54eee1109 (patch)
treef0ea41dc6b9bfc1356f9f037cdf0ed9e139f1e50 /tools/power
parentf472a59aa182d5aac2927633f390514cf7b614b4 (diff)
downloadkernel_replicant_linux-cb14bbbb7bbfdb9da25d24cf14f52ef54eee1109.tar.gz
kernel_replicant_linux-cb14bbbb7bbfdb9da25d24cf14f52ef54eee1109.tar.bz2
kernel_replicant_linux-cb14bbbb7bbfdb9da25d24cf14f52ef54eee1109.zip
tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
commit c8a950d0d3b926a02c7b2e713850d38217cec3d1 upstream. Several Makefiles in tools/ need to define the host toolchain variables. Move their definition to tools/scripts/Makefile.include Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/bpf/20201110164310.2600671-2-jean-philippe@linaro.org Cc: Alistair Delva <adelva@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/acpi/Makefile.config1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/power/acpi/Makefile.config b/tools/power/acpi/Makefile.config
index 54a2857c2510..331f6d30f472 100644
--- a/tools/power/acpi/Makefile.config
+++ b/tools/power/acpi/Makefile.config
@@ -54,7 +54,6 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
CROSS_COMPILE ?= $(CROSS)
LD = $(CC)
-HOSTCC = gcc
# check if compiler option is supported
cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1)"; fi;}