fpga: tools: RESOLVE_PATH checks for an empty path
Original-commit: ffdce1c3fc229579b9d30afe489d2749c0c956ed
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
# Environment Setup
|
# Environment Setup
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
ifeq ($(VIV_PLATFORM),Cygwin)
|
ifeq ($(VIV_PLATFORM),Cygwin)
|
||||||
RESOLVE_PATH = $(subst \,/,$(shell cygpath -aw $(1)))
|
RESOLVE_PATH = $(if $(1),$(subst \,/,$(shell cygpath -aw $(1))))
|
||||||
RESOLVE_PATHS = "$(foreach path,$(1),$(subst \,/,$(shell cygpath -aw $(abspath $(path)))))"
|
RESOLVE_PATHS = "$(if $(1),$(foreach path,$(1),$(subst \,/,$(shell cygpath -aw $(abspath $(path))))))"
|
||||||
else
|
else
|
||||||
RESOLVE_PATH = $(1)
|
RESOLVE_PATH = $(1)
|
||||||
RESOLVE_PATHS = "$(1)"
|
RESOLVE_PATHS = "$(1)"
|
||||||
|
|||||||
Reference in New Issue
Block a user