From 6c96f5f37bcb3effc907fa98e26596fbd5e9f055 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 23 Oct 2020 18:46:39 -0700 Subject: [PATCH] clean up function deps a bit --- bin/kaleidoscope-builder | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 736cf8d7..848500a1 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -350,7 +350,6 @@ program() { } flash_with_programmer() { - set_executable_paths ${AVRDUDE_CMD} -cusbtiny \ -B 1 \ @@ -358,7 +357,6 @@ flash_with_programmer() { } flash_over_usb () { - set_executable_paths FLASH_CMD=$( ${AVRDUDE_CMD} -cavr109 \ -P "${DEVICE_PORT_BOOTLOADER}" \ @@ -399,6 +397,7 @@ build () { prepare_ccache () { + find_sketch build_paths enable_ccache } @@ -600,6 +599,8 @@ decompile () { } clean () { + find_sketch + build_paths if [ -d "$OUTPUT_PATH" ]; then rm -rf -- "${OUTPUT_PATH}" fi