瀏覽代碼

[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 年之前
父節點
當前提交
5b9ce33c5c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping 查看文件

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

Loading…
取消
儲存