Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3bcf2d4 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Rafael J. Wysocki
Browse files

tools/acpi: use CROSS_COMPILE to define prefix



CROSS_COMPILE can be considered as standard definition for toolchain prefix
when cross-compiling. Use it here.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 33688abb
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -54,9 +54,10 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
# to something more interesting, like "arm-linux-".  If you want
# to something more interesting, like "arm-linux-".  If you want
# to compile vs uClibc, that can be done here as well.
# to compile vs uClibc, that can be done here as well.
CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
CC = $(CROSS)gcc
CROSS_COMPILE ?= $(CROSS)
LD = $(CROSS)gcc
CC = $(CROSS_COMPILE)gcc
STRIP = $(CROSS)strip
LD = $(CROSS_COMPILE)gcc
STRIP = $(CROSS_COMPILE)strip
HOSTCC = gcc
HOSTCC = gcc


# check if compiler option is supported
# check if compiler option is supported