From ee362308d881cefa6a5350bc5bed1a40699d331a Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 23 Oct 2020 00:27:52 -0700 Subject: [PATCH] Fixing some of our interim back-compat for old makefiles --- bin/kaleidoscope-builder | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 11ebbe96..cfb194ea 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -666,6 +666,13 @@ if [ $# -lt 1 ]; then exit 1 fi + +# Temporary migration for old makefiles +# I'm not thrilled about how we default to system Arduino dirs. +if [ -n "${BOARD_HARDWARE_PATH}" ]; then + ARDUINO_DIRECTORIES_USER="${BOARD_HARDWARE_PATH}/../" +fi + ## Parse the command-line ## - anything that has a =, is an env var ## - from the remaining stuff, the first one is the Library/Sketch