diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-02-24 17:23:53 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-02-24 17:23:53 +0100 |
commit | 0d8eee79a9eb4701f3100434f5d696d912f7816f (patch) | |
tree | 0e270775073f0859f36c1ae3c887bdb0c203d5c1 /tuer-rfid/Makefile | |
parent | introduced path variable for avr utilities path (diff) |
added SPREADAVR_PATH variable to all examples
Diffstat (limited to 'tuer-rfid/Makefile')
-rw-r--r-- | tuer-rfid/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tuer-rfid/Makefile b/tuer-rfid/Makefile index ae4bbba..82a3b87 100644 --- a/tuer-rfid/Makefile +++ b/tuer-rfid/Makefile @@ -26,10 +26,11 @@ BOARD_TYPE := teenstep OBJ := $(NAME).o heartbeat.o stepper.o ledmatrix.o sl018.o keystore.o statemachine.o eventqueue.o limits.o manual.o ajar.o LIBS := util led lufa-descriptor-usbserial anyio EXTERNAL_LIBS := lufa -RESET_FUNC := ../tools/reset_lufa_cdc +SPREADAVR_PATH := .. +RESET_FUNC := $(SPREADAVR_PATH)/tools/reset_lufa_cdc RESET_PARAM := 'r' -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 @@ -46,7 +47,7 @@ LUFA_COMPONENTS := USB USBCLASS TWI SERIAL CLEAN_TARGETS += clean-pdf clean-update-keys -include ../include.mk +include $(SPREADAVR_PATH)/include.mk update-keys: update-keys.c gcc -o $@ $< |