[build] Allow sparse to be invoked via "make C=1"

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/13/head
Michael Brown 2013-04-25 14:56:48 +01:00
parent f85af68ac5
commit 39ab88ac09
1 changed files with 9 additions and 0 deletions

View File

@ -200,6 +200,15 @@ Q := @
QM := @ QM := @
endif endif
###############################################################################
#
# Checker
#
ifeq ($(C),1)
export REAL_CC := $(CC)
CC := cgcc
endif
############################################################################### ###############################################################################
# #
# Set BIN according to whatever was specified on the command line as # Set BIN according to whatever was specified on the command line as