From ab1bfe407bc6bcbfed2be525991cb7afebf37ab3 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 29 Sep 2024 21:56:23 +0200 Subject: [PATCH] Update espidf.py --- builder/frameworks/espidf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 2a7d677ea..82bf1c71a 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -118,14 +118,14 @@ ORIG_BUILD_FLAGS = env.subst("$BUILD_FLAGS") ORIG_BUILD_UNFLAGS = env.subst("$BUILD_UNFLAGS") ORIG_PROJECT_SRC_DIR = PROJECT_SRC_DIR - ["$BUILD_FLAGS"].clear() - ["$BUILD_UNFLAGS"].clear() + ["$BUILD_FLAGS"] = [] + ["$BUILD_UNFLAGS"] = [] PROJECT_SRC_DIR = PROJECT_SRC_DIR.replace("tasmota", "dummy") - ["$PROJECT_SRC_DIR"].clear() + ["$PROJECT_SRC_DIR"] = [] ["$PROJECT_SRC_DIR"].append(PROJECT_SRC_DIR) except: pass -print("Source Dir", PROJECT_SRC_DIR) +print("Source Dir", env.subst("$PROJECT_SRC_DIR")) print("Build Flags", env.subst("$BUILD_FLAGS")) print("Build UnFlags", env.subst("$BUILD_UNFLAGS"))