diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ AVR_TOOLS_DIR = /usr -ARDUINO_DIR = /usr/local/arduino +ARDUINO_DIR = ./lib ARDMK_DIR = /usr/share/arduino ARDMK_VENDOR = arduino @@ -8,7 +8,7 @@ BOARD_TAG = model01 ALTERNATE_CORE = keyboardio ARDUINO_SKETCHBOOK = ./lib -ARDUINO_VERSION = $(shell tr "." "0" <$(ARDUINO_DIR)/lib/version.txt) +ARDUINO_VERSION = $(shell git --no-pager -C $(ARDUINO_DIR)/hardware/$(ARDMK_VENDOR)/$(ARCHITECTURE) tag --points-at HEAD | tr "." "0") SOURCEDIR = ./src OBJDIR = ./build |