From f16851d6a299a97e0a14be54d5ac222ef6deb95c Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 5 Dec 2023 11:33:48 +0300 Subject: [PATCH] change root directory for marlin configs --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 103db30..124b311 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -PLATFORMIO_DIR := $(PWD)/.. PLATFORMIO = nix shell nixpkgs\#platformio --command platformio -MARLIN_CONFIGS_DIR := $(PWD)/../Marlin +MARLIN_DIR := $(PWD)/../Marlin-VERSION +MARLIN_2.0.9.7 := $(patsubst %-VERSION,%-2.0.9.7,$(MARLIN_DIR)) .PHONY: ender3v2 ender3v2: - cp Creality-Ender3-V2/*.h $(MARLIN_CONFIGS_DIR) - cd $(PLATFORMIO_DIR) &&\ + cp Creality-Ender3-V2/*.h $(MARLIN_2.0.9.7)/Marlin + cd $(MARLIN_2.0.9.7) &&\ $(PLATFORMIO) run --target upload --silent -e STM32F103RE_creality ; echo "done" >|"/run/user/1001/ipc" .PHONY: gparted