소스 검색

[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 년 전
부모
커밋
39ab88ac09
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9
    0
      src/Makefile.housekeeping

+ 9
- 0
src/Makefile.housekeeping 파일 보기

@@ -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

Loading…
취소
저장