mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32: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
|
||||
endif
|
||||
|
||||
MKDIR = mkdir
|
||||
|
||||
ifeq ($(CMDEXE),1)
|
||||
CP = copy
|
||||
RM = del
|
||||
PYTHON = python
|
||||
MKDIR = cmd /e /c mkdir
|
||||
else
|
||||
SED = sed
|
||||
CP = cp
|
||||
RM = rm
|
||||
MKDIR = mkdir
|
||||
PYTHON = python3
|
||||
endif
|
||||
|
||||
|
@ -25,7 +25,7 @@ endif
|
||||
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||
|
||||
# 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))
|
||||
|
||||
# Set TOP to an absolute path, for example /tinyUSB (from ../../..)
|
||||
|
Loading…
x
Reference in New Issue
Block a user