浏览代码

[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 12 年前
父节点
当前提交
5b9ce33c5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/Makefile.housekeeping

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

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
 #

正在加载...
取消
保存