浏览代码

* add path of make to SEARCHPATH

peter 22 年之前
父节点
当前提交
964de0b20a
共有 2 个文件被更改,包括 173 次插入169 次删除
  1. 171 169
      utils/fpcm/fpcmake.inc
  2. 2 0
      utils/fpcm/fpcmake.ini

文件差异内容过多而无法显示
+ 171 - 169
utils/fpcm/fpcmake.inc


+ 2 - 0
utils/fpcm/fpcmake.ini

@@ -23,6 +23,8 @@ SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
 else
 SEARCHPATH:=$(subst ;, ,$(PATH))
 endif
+# Add path were make is located
+SEARCHPATH+=$(patsubst %/,%,$(dir $(MAKE)))
 
 # Search for PWD and determine also if we are under linux
 PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))

部分文件因为文件数量过多而无法显示