|
|
@ -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
|
|
|
|
# they reside outside of SKETCHBOOK_DIR, we fall back to assuming that
|
|
|
|
# the hardware directory can be determined in relation to the position of
|
|
|
|
# the hardware directory can be determined in relation to the position of
|
|
|
|
# this Makefile.
|
|
|
|
# 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
|
|
|
|
# Determine the path of this Makefile
|
|
|
|
MKFILE_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
MKFILE_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
BOARD_HARDWARE_PATH = $(MKFILE_DIR)/../../../..
|
|
|
|
BOARD_HARDWARE_PATH = $(MKFILE_DIR)/../../../..
|
|
|
|
endif
|
|
|
|
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
|
|
|
|
include $(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk
|
|
|
|
|
|
|
|
|
|
|
|
# Set up an argument for passing to the simulator tests in docker
|
|
|
|
# Set up an argument for passing to the simulator tests in docker
|
|
|
|