makefile: if there's an arduino boards-manager install of the kaleidoscope runtime, use it..
This commit is contained in:
parent
492dc5e70f
commit
beb849f84f
11
Makefile
11
Makefile
@ -3,6 +3,17 @@
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
|
||||
INSTALLED_ENV=$(shell ls -dt ~/.arduino15/packages/keyboardio/hardware/avr/*|head -n 1)
|
||||
|
||||
ifneq ("$(wildcard $(INSTALLED_ENV)/boards.txt)","")
|
||||
BOARD_HARDWARE_PATH = $(INSTALLED_ENV)
|
||||
KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR ?= build-tools/makefiles/
|
||||
KALEIDOSCOPE_BUILDER_DIR ?= $(INSTALLED_ENV)/libraries/Kaleidoscope/bin/
|
||||
endif
|
||||
|
||||
|
||||
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
SKETCHBOOK_DIR ?= $(HOME)/Documents/Arduino/
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user