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:
Brad Parker
2017-09-17 11:34:28 -04:00
parent d9903ad05b
commit 0938485b3b

View File

@@ -12,7 +12,7 @@ BACKSLASH := \$(BACKSLASH)
filter_out1 = $(filter-out $(firstword $1),$1)
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
unixpath = $(subst \,/,$1)
unixcygpath = $(subst C:,/c,$(subst c:,/c,$(call unixpath,$1)))
unixcygpath = /$(subst :,,$(call unixpath,$1))
ifeq ($(platform),)
platform = unix