From c6a3e85122d73a1f99b4885d031e69b40bed1271 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 16 Nov 2020 00:46:43 -0800 Subject: [PATCH] minor cleanup --- etc/sketch-arduino-cli.mk | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/etc/sketch-arduino-cli.mk b/etc/sketch-arduino-cli.mk index 3872b383..ed8b3e80 100644 --- a/etc/sketch-arduino-cli.mk +++ b/etc/sketch-arduino-cli.mk @@ -1,16 +1,10 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) mkfile_dir := $(dir $(mkfile_path)) - # Make a variable lazily evaluated at first call # From https://blog.jgc.org/2016/07/lazy-gnu-make-variables.html make-lazy = $(eval $1 = $$(eval $1 := $(value $(1)))$$($1)) - - - - - export KALEIDOSCOPE_DIR ?= $(abspath $(mkfile_dir)/..) export KALEIDOSCOPE_BIN_DIR ?= $(KALEIDOSCOPE_DIR)/bin @@ -165,9 +159,6 @@ install-arduino-core-kaleidoscope: install-arduino-core-avr: $(ARDUINO_CLI) core install "arduino:avr" -decompile: disassemble - @: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too. - disassemble: ${ELF_FILE_PATH} ${AVR_OBJDUMP} -C -d "${ELF_FILE_PATH}" @@ -193,19 +184,10 @@ hex-with-bootloader: ${HEX_FILE_PATH} @echo @echo And TEST THIS ON REAL HARDWARE BEFORE YOU GIVE IT TO ANYONE. - - - -prop: - @echo $(BOOTLOADER_PATH) - @echo $(GIT_VERSION) - clean: rm -rf -- "${OUTPUT_PATH}/*" -_do_compile: - compile: install -d "${OUTPUT_PATH}" @echo "Building ${SKETCH_FILE_PATH}"