Commit c3dfc587 authored by Dean Camera's avatar Dean Camera
Browse files

Fix invalid Event name rule in demo/project makefiles.

parent e53c120a
...@@ -511,7 +511,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -511,7 +511,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -513,7 +513,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -513,7 +513,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -512,7 +512,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -512,7 +512,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -508,7 +508,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -508,7 +508,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -507,7 +507,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -507,7 +507,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -517,7 +517,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -517,7 +517,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -506,7 +506,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -510,7 +510,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -510,7 +510,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -504,7 +504,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst: ...@@ -505,7 +505,7 @@ $(LUFA_PATH)/LUFA/LUFA_Events.lst:
checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst
@echo @echo
@echo Checking for invalid events... @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 grep -F -v --file=$(LUFA_PATH)/LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp @sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi @if test -s InvalidEvents.tmp; then exit 1; fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment