From: Michael Brown Date: Thu, 25 Apr 2013 13:56:48 +0000 (+0100) Subject: [build] Allow sparse to be invoked via "make C=1" X-Git-Tag: v1.20.1~1531 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3;p=thirdparty%2Fipxe.git [build] Allow sparse to be invoked via "make C=1" Signed-off-by: Michael Brown --- diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 99de917ab..6e9178a12 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -200,6 +200,15 @@ Q := @ QM := @ endif +############################################################################### +# +# Checker +# +ifeq ($(C),1) +export REAL_CC := $(CC) +CC := cgcc +endif + ############################################################################### # # Set BIN according to whatever was specified on the command line as