david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
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 := @
endif
###############################################################################
#
# Checker
#
ifeq ($(C),1)
export REAL_CC := $(CC)
CC := cgcc
endif
###############################################################################
#
# Set BIN according to whatever was specified on the command line as