Ver código fonte

[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 anos atrás
pai
commit
39ab88ac09
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9
    0
      src/Makefile.housekeeping

+ 9
- 0
src/Makefile.housekeeping Ver arquivo

@@ -200,6 +200,15 @@ Q := @
200 200
 QM := @
201 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 214
 # Set BIN according to whatever was specified on the command line as

Carregando…
Cancelar
Salvar