X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/0486f12e3eab71e75273b774bb13eeb5937c544d..efb6c357784af2293a50b3fca9503c3a4c13a9e1:/Demos/Host/LowLevel/KeyboardHost/makefile diff --git a/Demos/Host/LowLevel/KeyboardHost/makefile b/Demos/Host/LowLevel/KeyboardHost/makefile index 072ca2506..041420944 100644 --- a/Demos/Host/LowLevel/KeyboardHost/makefile +++ b/Demos/Host/LowLevel/KeyboardHost/makefile @@ -116,8 +116,7 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS = -D USB_HOST_ONLY LUFA_OPTS += -D NO_STREAM_CALLBACKS LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" @@ -504,7 +503,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