From e245628ab217fafa77852754000353dd81e644f6 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 11 Nov 2020 23:21:30 -0800 Subject: [PATCH] trim out somethign that no longer makes sense --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index cabe15fc..a1434afb 100644 --- a/Makefile +++ b/Makefile @@ -58,19 +58,12 @@ KALEIDOSCOPE_ETC_DIR ?= $(BOARD_HARDWARE_PATH)/keyboardio/avr/libraries/Kaleidos # they reside outside of SKETCHBOOK_DIR, we fall back to assuming that # the hardware directory can be determined in relation to the position of # this Makefile. -ifeq ("$(wildcard $(BOARD_HARDWARE_PATH)/keyboardio/build-tools/makefiles/sketch-arduino-cli.mk)","") +ifeq ("$(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk","") # Determine the path of this Makefile MKFILE_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) BOARD_HARDWARE_PATH = $(MKFILE_DIR)/../../../.. endif -ifeq ("$(wildcard $(BOARD_HARDWARE_PATH)/keyboardio/build-tools/makefiles/sketch-arduino-cli.mk)","") -$(info ***************************************************************************) -$(info Unable to autodetect a proper BOARD_HARDWARE_PATH. Please define it manually.) -$(info ***************************************************************************) -$(info ) -endif - include $(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk # Set up an argument for passing to the simulator tests in docker