summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2013-03-28 11:44:19 +0100
committerRonald G. Minnich <rminnich@gmail.com>2013-03-29 21:32:48 +0100
commitbe2c6340b3ce8e48a40724ef8136eb3c80ef4448 (patch)
treee1086da4ed0cd84c045c1895c9ff1ea350210e39
parente85f4eb1b0f63535ceb36315712a03d7d7f656ac (diff)
downloadcoreboot-be2c6340b3ce8e48a40724ef8136eb3c80ef4448.tar.xz
superiotool: Allow to override Makefile variables `CC`, `INSTALL` and `PREFIX`
This way for example a different compiler can easily be used. CC=clang make Change-Id: I50b83554fd4826d00d87e60a30eb1f6a88834397 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/2935 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--util/superiotool/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index 060dd412af..900b8aefeb 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -20,9 +20,9 @@
PROGRAM = superiotool
-CC = gcc
-INSTALL = /usr/bin/install
-PREFIX = /usr/local
+CC ?= gcc
+INSTALL ?= /usr/bin/install
+PREFIX ?= /usr/local
# Set the superiotool version string to the output of 'git describe'.