Browse Source

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 years ago
parent
commit
39ab88ac09
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/Makefile.housekeeping

+ 9
- 0
src/Makefile.housekeeping View File

200
 QM := @
200
 QM := @
201
 endif
201
 endif
202
 
202
 
203
+###############################################################################
204
+#
205
+# Checker
206
+#
207
+ifeq ($(C),1)
208
+export REAL_CC := $(CC)
209
+CC := cgcc
210
+endif
211
+
203
 ###############################################################################
212
 ###############################################################################
204
 #
213
 #
205
 # Set BIN according to whatever was specified on the command line as
214
 # Set BIN according to whatever was specified on the command line as

Loading…
Cancel
Save