瀏覽代碼

* 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

File diff suppressed because it is too large
+ 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))))

Some files were not shown because too many files changed in this diff