This commit is contained in:
Midgard 2020-08-10 17:27:31 +02:00
parent 2c44eb3bba
commit 8373db5616
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -13,7 +13,13 @@ ifeq ($(origin BOARDS_TXT), undefined)
BOARDS_TXT := $(shell locate '*/arduino/*/boards.txt') # ¯\_(ツ)_/¯
endif
ARDMK_DIR ?= ../arduino-makefile
ifeq ($(wildcard /usr/share/arduino),)
ARDUINO_DIR ?= /usr/lib/arduino
else
ARDUINO_DIR ?= /usr/share/arduino
endif
ARDMK_DIR ?= ./arduino-makefile
AVR_TOOLS_DIR ?= /usr
include $(ARDMK_DIR)/Arduino.mk