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 /tools | |
| parent | a99ee1b1a238b3edc6f2511543ffed2a3a1b657e (diff) | |
fix ci build on windows
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/top.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 ../../..) |
