From 52a5265b9b087c3310fbad0f6f2795b082a6dbc5 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 15 Oct 2020 19:57:58 -0700 Subject: [PATCH] ROOT is defined automatically and not overridable. Remove the lines in the comments and docs --- bin/kaleidoscope-builder | 4 ++-- etc/kaleidoscope-builder.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 4bffd8b0..ca3d7e32 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -134,8 +134,8 @@ firmware_size () { find_sketch () { SKETCH="${SKETCH:-${DEFAULT_SKETCH}}" - if [ -z "${SKETCH}" ] || [ -z "${ROOT}" ]; then - echo "SKETCH and ROOT need to be set before including this file!" >&2 + if [ -z "${SKETCH}" ]; then + echo "SKETCH needs to be set before including this file!" >&2 exit 1 fi diff --git a/etc/kaleidoscope-builder.conf b/etc/kaleidoscope-builder.conf index de2f3b48..c03aa7b2 100644 --- a/etc/kaleidoscope-builder.conf +++ b/etc/kaleidoscope-builder.conf @@ -1,6 +1,6 @@ # -*- shell-script -*- -## NEEDS: SKETCH, ROOT +## NEEDS: SKETCH ## Should be included when the current directory is the dir of the Sketch. SKETCH="${SKETCH:-${DEFAULT_SKETCH}}"