summaryrefslogtreecommitdiff
path: root/usb-serial/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usb-serial/Makefile')
-rw-r--r--usb-serial/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usb-serial/Makefile b/usb-serial/Makefile
index 6cde62d..26bae81 100644
--- a/usb-serial/Makefile
+++ b/usb-serial/Makefile
@@ -25,8 +25,9 @@ BOARD_TYPE := slowpandongle2
OBJ := $(NAME).o
LIBS := util led lufa-descriptor-usbserial
EXTERNAL_LIBS := lufa
+SPREADAVR_PATH := ..
-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
@@ -41,4 +42,4 @@ LUFA_OPTS += -D USB_PRODUCT="L\"spreadspace usb-serial example\"" -D USB_PRODUCT
LUFA_COMPONENTS := USB USBCLASS SERIAL
-include ../include.mk
+include $(SPREADAVR_PATH)/include.mk