Browse Source

[build] Allow sparse to find compiler.h

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>
tags/v1.20.1
Michael Brown 11 years ago
parent
commit
5b9ce33c5c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping View File

475
 
475
 
476
 # compiler.h is needed for our linking and debugging system
476
 # compiler.h is needed for our linking and debugging system
477
 #
477
 #
478
-CFLAGS		+= -include compiler.h
478
+CFLAGS		+= -include include/compiler.h
479
 
479
 
480
 # CFLAGS for specific object types
480
 # CFLAGS for specific object types
481
 #
481
 #

Loading…
Cancel
Save