fix for parent folders with spaces (#403)
This commit is contained in:
parent
e175b8d56f
commit
c4ea06d255
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -2,8 +2,9 @@ ifndef VERBOSE
|
||||||
.SILENT:
|
.SILENT:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
starting_makefile := $(abspath $(firstword $(MAKEFILE_LIST)))
|
space := $(subst ,, )
|
||||||
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
starting_makefile := $(subst $(space),_SPACE_,$(abspath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
mkfile_path := $(subst $(space),_SPACE_,$(abspath $(lastword $(MAKEFILE_LIST))))
|
||||||
abs_tmk_root := $(patsubst %/,%,$(dir $(mkfile_path)))
|
abs_tmk_root := $(patsubst %/,%,$(dir $(mkfile_path)))
|
||||||
|
|
||||||
ifneq (,$(findstring /keyboard/,$(starting_makefile)))
|
ifneq (,$(findstring /keyboard/,$(starting_makefile)))
|
||||||
|
|
Loading…
Reference in a new issue