diff options
author | Michael Brown | 2013-04-25 15:56:48 +0200 |
---|---|---|
committer | Michael Brown | 2013-04-25 15:56:48 +0200 |
commit | 39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3 (patch) | |
tree | 62e00aa87ce2864e122fb70cf57ebbb6084b3edc /src/Makefile.housekeeping | |
parent | [build] Define __WINT_TYPE__ if necessary (diff) | |
download | ipxe-39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3.tar.gz ipxe-39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3.tar.xz ipxe-39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3.zip |
[build] Allow sparse to be invoked via "make C=1"
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 99de917a..6e9178a1 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -202,6 +202,15 @@ endif ############################################################################### # +# Checker +# +ifeq ($(C),1) +export REAL_CC := $(CC) +CC := cgcc +endif + +############################################################################### +# # Set BIN according to whatever was specified on the command line as # the build target. # |