strip MDEF_FILE_PATH variable
Avoid issues with variables having leading/trailing spaces. Change-Id: I9e51197c1428a9eb701a73ee55f3a726486660d3 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
9d26ab769d
commit
8fc8e9fb9f
1 changed files with 2 additions and 2 deletions
4
Kbuild
4
Kbuild
|
@ -7,10 +7,10 @@ endif
|
|||
endif
|
||||
|
||||
ifneq ("$(wildcard $(MDEF_FILE))","")
|
||||
MDEF_FILE_PATH=$(MDEF_FILE)
|
||||
MDEF_FILE_PATH=$(strip $(MDEF_FILE))
|
||||
else
|
||||
ifneq ($(MDEF_FILE),)
|
||||
MDEF_FILE_PATH=$(PROJECT_BASE)/$(MDEF_FILE)
|
||||
MDEF_FILE_PATH=$(strip $(PROJECT_BASE)/$(MDEF_FILE))
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue