summaryrefslogtreecommitdiff
path: root/software/rhmixxx
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-02-24 18:48:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-02-24 18:48:36 (GMT)
commit2731ff242cc6bb5cd4a1a5b61625c28fdfb7441f (patch)
treeaef19c62f9248e859e8d071fc410685e81b4d5c2 /software/rhmixxx
parent1c4a41156d5a6762ce04bc6bd71b657cd32590bd (diff)
switch to new avr-utils method
Diffstat (limited to 'software/rhmixxx')
-rw-r--r--software/rhmixxx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/software/rhmixxx/Makefile b/software/rhmixxx/Makefile
index 47d5e30..6883376 100644
--- a/software/rhmixxx/Makefile
+++ b/software/rhmixxx/Makefile
@@ -24,8 +24,9 @@ BOARD_TYPE := rhmixxx
OBJ := $(NAME).o keypad.o eventqueue.o gpio.o analog.o
LIBS := util led lufa-descriptor-midi
EXTERNAL_LIBS := lufa
+SPREADAVR_PATH := ../../contrib/avr-utils
-LUFA_PATH := ../../contrib/LUFA-120219
+LUFA_PATH := $(SPREADAVR_PATH)/contrib/LUFA-120219
LUFA_OPTS = -D USB_DEVICE_ONLY
LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
LUFA_OPTS += -D ORDERED_EP_CONFIG
@@ -40,4 +41,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"rhmixxx midi controller\"" -D USB_PRODUCT_LEN=23
LUFA_COMPONENTS := USB USBCLASS
-include ../include.mk
+include $(SPREADAVR_PATH)/include.mk