Fix invalid Event name rule in demo/project makefiles.

This commit is contained in:
Dean Camera 2009-10-16 08:04:51 +00:00
parent e53c120a22
commit c3dfc58707
57 changed files with 75 additions and 73 deletions

View file

@ -506,7 +506,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