]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Allow sparse to find compiler.h
authorMichael Brown <mcb30@ipxe.org>
Thu, 25 Apr 2013 12:45:41 +0000 (13:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 25 Apr 2013 12:45:41 +0000 (13:45 +0100)
sparse seems to have problems finding compiler.h when specified as
"-include compiler.h"; one possible explanation is that it ignores the
include path.  Fix by using "-include include/compiler.h".

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping

index d40f226f684761c5572977b0bd7c057a95c6ec78..99de917ab87673f329c59c364e8945bf13c050fe 100644 (file)
@@ -475,7 +475,7 @@ LDFLAGS             += --gc-sections
 
 # compiler.h is needed for our linking and debugging system
 #
-CFLAGS         += -include compiler.h
+CFLAGS         += -include include/compiler.h
 
 # CFLAGS for specific object types
 #