add proper path for hardware in travis

pull/389/head
Jesse Vincent 8 years ago
parent cc354a7069
commit 235162fb02
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -1,11 +1,16 @@
# This stub makefile for a Kaleidoscope plugin pulls in
# all targets from the Kaleidoscope-Plugin library
MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
UNAME_S := $(shell uname -s)
ifneq ($(wildcard $(shell pwd)/hardware/$(MAKEFILE_PREFIX)), "" )
BOARD_HARDWARE_PATH=$(shell pwd)/hardware
endif
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
ifeq ($(UNAME_S),Darwin)
BOARD_HARDWARE_PATH ?= $(HOME)/Library/Arduino/hardware
endif
include $(BOARD_HARDWARE_PATH)/keyboardio/avr/libraries/Kaleidoscope-Plugin/build/*.mk
include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/*.mk

Loading…
Cancel
Save