Ver código fonte

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

+ 1
- 1
src/Makefile.housekeeping Ver arquivo

@@ -475,7 +475,7 @@ LDFLAGS		+= --gc-sections
475 475
 
476 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 480
 # CFLAGS for specific object types
481 481
 #

Carregando…
Cancelar
Salvar