mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
fix ci build on windows
This commit is contained in:
parent
a99ee1b1a2
commit
b4ef98cbdc
@ -74,16 +74,16 @@ else
|
|||||||
SIZE = $(CROSS_COMPILE)size
|
SIZE = $(CROSS_COMPILE)size
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MKDIR = mkdir
|
|
||||||
|
|
||||||
ifeq ($(CMDEXE),1)
|
ifeq ($(CMDEXE),1)
|
||||||
CP = copy
|
CP = copy
|
||||||
RM = del
|
RM = del
|
||||||
PYTHON = python
|
PYTHON = python
|
||||||
|
MKDIR = cmd /e /c mkdir
|
||||||
else
|
else
|
||||||
SED = sed
|
SED = sed
|
||||||
CP = cp
|
CP = cp
|
||||||
RM = rm
|
RM = rm
|
||||||
|
MKDIR = mkdir
|
||||||
PYTHON = python3
|
PYTHON = python3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ endif
|
|||||||
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||||
|
|
||||||
# strip off /tools/top.mk to get for example ../../..
|
# strip off /tools/top.mk to get for example ../../..
|
||||||
TOP := $(patsubst %/tools/top.mk,%,$(THIS_MAKEFILE))
|
TOP := $(subst /tools/top.mk,,$(THIS_MAKEFILE))
|
||||||
$(info top.mk: Initial TOP=$(TOP))
|
$(info top.mk: Initial TOP=$(TOP))
|
||||||
|
|
||||||
# Set TOP to an absolute path, for example /tinyUSB (from ../../..)
|
# Set TOP to an absolute path, for example /tinyUSB (from ../../..)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user