fix ci build on windows

This commit is contained in:
hathach
2023-03-05 10:57:16 +07:00
parent a99ee1b1a2
commit b4ef98cbdc
2 changed files with 3 additions and 3 deletions

View File

@@ -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 ../../..)