[coreboot-gerrit] New patch to review for coreboot: 5102b5f superiotool: Allow to override Makefile variables `CC`, `INSTALL` and `PREFIX`

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Thu Mar 28 11:48:33 CET 2013


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2935

-gerrit

commit 5102b5f87cdd31b0dd39b4123e8ffe0448abadb5
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Thu Mar 28 11:44:19 2013 +0100

    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 at users.sourceforge.net>
---
 util/superiotool/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index 060dd41..900b8ae 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'.
 



More information about the coreboot-gerrit mailing list