mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-02 07:00:42 +00:00
🔨 Fix ESP32 build (for xtensa32) (#27561)
This commit is contained in:
parent
9cbab467b4
commit
94bd6d52e9
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ def search_compiler(env):
|
||||||
# Use any item in $PATH corresponding to a platformio toolchain bin folder
|
# Use any item in $PATH corresponding to a platformio toolchain bin folder
|
||||||
if ppath.match(env['PROJECT_PACKAGES_DIR'] + "/**/bin"):
|
if ppath.match(env['PROJECT_PACKAGES_DIR'] + "/**/bin"):
|
||||||
for gpath in ppath.glob(gcc_exe):
|
for gpath in ppath.glob(gcc_exe):
|
||||||
# Skip '*-elf-g++' (crosstool-NG)
|
# Skip '*-elf-g++' (crosstool-NG) except for xtensa32
|
||||||
if not gpath.stem.endswith('-elf-g++'):
|
if not "xtensa32" not in str(gpath) and gpath.stem.endswith('-elf-g++'):
|
||||||
gccpath = str(gpath.resolve())
|
gccpath = str(gpath.resolve())
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue