diff options
| author | hathach <[email protected]> | 2023-03-05 13:39:38 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-05 13:39:38 +0700 |
| commit | 8a493485e802673a877e43a53c7181a9668c7d51 (patch) | |
| tree | 8982de3017be17bcb799af5d4b33d5bfaa4a43f1 /examples | |
| parent | b4ef98cbdcac8a6bec4caee05920afc37a745149 (diff) | |
more ci test
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make.mk | 3 | ||||
| -rw-r--r-- | examples/rules.mk | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/make.mk b/examples/make.mk index 5b364baf7..8a0b6db6b 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -77,10 +77,9 @@ endif ifeq ($(CMDEXE),1) CP = copy RM = del + MKDIR = mkdir PYTHON = python - MKDIR = cmd /e /c mkdir else - SED = sed CP = cp RM = rm MKDIR = mkdir diff --git a/examples/rules.mk b/examples/rules.mk index dcef934ab..06bc593ba 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -265,7 +265,11 @@ debug-bmp: $(BUILD)/$(PROJECT).elf # Create binary directory $(BIN): +ifeq ($(CMDEXE),1) + @$(MKDIR) $(subst /,\,$@) +else @$(MKDIR) -p $@ +endif # Copy binaries .elf, .bin, .hex, .uf2 to BIN for upload # due to large size of combined artifacts, only uf2 is uploaded for now |
