From 39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 25 Apr 2013 14:56:48 +0100 Subject: [build] Allow sparse to be invoked via "make C=1" Signed-off-by: Michael Brown --- src/Makefile.housekeeping | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Makefile.housekeeping') diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 99de917a..6e9178a1 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 -- cgit v1.2.3-55-g7522