xbox1/360: don't depend on the drive letter being C:, and always assume path starts with a drive letter and a colon
This commit is contained in:
@@ -12,7 +12,7 @@ BACKSLASH := \$(BACKSLASH)
|
|||||||
filter_out1 = $(filter-out $(firstword $1),$1)
|
filter_out1 = $(filter-out $(firstword $1),$1)
|
||||||
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
||||||
unixpath = $(subst \,/,$1)
|
unixpath = $(subst \,/,$1)
|
||||||
unixcygpath = $(subst C:,/c,$(subst c:,/c,$(call unixpath,$1)))
|
unixcygpath = /$(subst :,,$(call unixpath,$1))
|
||||||
|
|
||||||
ifeq ($(platform),)
|
ifeq ($(platform),)
|
||||||
platform = unix
|
platform = unix
|
||||||
|
|||||||
Reference in New Issue
Block a user