diff options
| author | hathach <[email protected]> | 2023-03-05 10:57:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-05 10:57:16 +0700 |
| commit | b4ef98cbdcac8a6bec4caee05920afc37a745149 (patch) | |
| tree | 1fceaad7db2cba7d8745f12aee969ca1d486cc07 | |
| parent | a99ee1b1a238b3edc6f2511543ffed2a3a1b657e (diff) | |
fix ci build on windows
| -rw-r--r-- | examples/make.mk | 4 | ||||
| -rw-r--r-- | tools/top.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/make.mk b/examples/make.mk index dd7a5cf4e..5b364baf7 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -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 diff --git a/tools/top.mk b/tools/top.mk index 2800f9571..d2388201a 100644 --- a/tools/top.mk +++ b/tools/top.mk @@ -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 ../../..) |
