X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b221e7d175e4b5ca463fdd6d05b8c3fc71bd7c40..ce8d0424b1a59bb2b0bd3ab8f69f4e4cf8c9930b:/Demos/Device/LowLevel/MIDI/makefile diff --git a/Demos/Device/LowLevel/MIDI/makefile b/Demos/Device/LowLevel/MIDI/makefile index e8c675c1f..2cc4bce4f 100644 --- a/Demos/Device/LowLevel/MIDI/makefile +++ b/Demos/Device/LowLevel/MIDI/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY @@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst @echo @echo Checking for invalid events... - @$(shell) avr-nm $(TARGET).elf | sed -n -e 's/^.*EVENT_/EVENT_/p' | \ + @$(shell) avr-nm $(OBJ) | sed -n -e 's/^.*EVENT_/EVENT_/p' | \ grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @if test -s InvalidEvents.tmp; then exit 1; fi