We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a99ee1b commit b4ef98cCopy full SHA for b4ef98c
examples/make.mk
@@ -74,16 +74,16 @@ else
74
SIZE = $(CROSS_COMPILE)size
75
endif
76
77
-MKDIR = mkdir
78
-
79
ifeq ($(CMDEXE),1)
80
CP = copy
81
RM = del
82
PYTHON = python
+ MKDIR = cmd /e /c mkdir
83
else
84
SED = sed
85
CP = cp
86
RM = rm
+ MKDIR = mkdir
87
PYTHON = python3
88
89
tools/top.mk
@@ -25,7 +25,7 @@ endif
25
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
26
27
# strip off /tools/top.mk to get for example ../../..
28
-TOP := $(patsubst %/tools/top.mk,%,$(THIS_MAKEFILE))
+TOP := $(subst /tools/top.mk,,$(THIS_MAKEFILE))
29
$(info top.mk: Initial TOP=$(TOP))
30
31
# Set TOP to an absolute path, for example /tinyUSB (from ../../..)
0 commit comments