From c3dfc58707eafb6ed0efab5a50770294f5a6b3d3 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 16 Oct 2009 08:04:51 +0000 Subject: Fix invalid Event name rule in demo/project makefiles. --- Demos/Host/ClassDriver/CDCHost/makefile | 2 +- Demos/Host/ClassDriver/KeyboardHost/makefile | 2 +- Demos/Host/ClassDriver/KeyboardHostWithParser/makefile | 2 +- Demos/Host/ClassDriver/MIDIHost/makefile | 2 +- Demos/Host/ClassDriver/MassStorageHost/makefile | 2 +- Demos/Host/ClassDriver/MouseHost/makefile | 2 +- Demos/Host/ClassDriver/MouseHostWithParser/makefile | 2 +- Demos/Host/ClassDriver/StillImageHost/makefile | 2 +- Demos/Host/Incomplete/BluetoothHost/makefile | 2 +- Demos/Host/LowLevel/CDCHost/makefile | 2 +- Demos/Host/LowLevel/GenericHIDHost/makefile | 2 +- Demos/Host/LowLevel/KeyboardHost/makefile | 2 +- Demos/Host/LowLevel/KeyboardHostWithParser/makefile | 2 +- Demos/Host/LowLevel/MIDIHost/makefile | 2 +- Demos/Host/LowLevel/MassStorageHost/makefile | 2 +- Demos/Host/LowLevel/MouseHost/makefile | 2 +- Demos/Host/LowLevel/MouseHostWithParser/makefile | 2 +- Demos/Host/LowLevel/PrinterHost/makefile | 2 +- Demos/Host/LowLevel/StillImageHost/makefile | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) (limited to 'Demos/Host') diff --git a/Demos/Host/ClassDriver/CDCHost/makefile b/Demos/Host/ClassDriver/CDCHost/makefile index 9163fd087..345fbe45a 100644 --- a/Demos/Host/ClassDriver/CDCHost/makefile +++ b/Demos/Host/ClassDriver/CDCHost/makefile @@ -503,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 diff --git a/Demos/Host/ClassDriver/KeyboardHost/makefile b/Demos/Host/ClassDriver/KeyboardHost/makefile index 6e869b562..ab4704c7f 100644 --- a/Demos/Host/ClassDriver/KeyboardHost/makefile +++ b/Demos/Host/ClassDriver/KeyboardHost/makefile @@ -505,7 +505,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 diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile index 06cf507b5..c0b31afc3 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile @@ -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 diff --git a/Demos/Host/ClassDriver/MIDIHost/makefile b/Demos/Host/ClassDriver/MIDIHost/makefile index 548b4aec5..ecfe02319 100644 --- a/Demos/Host/ClassDriver/MIDIHost/makefile +++ b/Demos/Host/ClassDriver/MIDIHost/makefile @@ -503,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 diff --git a/Demos/Host/ClassDriver/MassStorageHost/makefile b/Demos/Host/ClassDriver/MassStorageHost/makefile index 4b26d64ec..24d9ee0b0 100644 --- a/Demos/Host/ClassDriver/MassStorageHost/makefile +++ b/Demos/Host/ClassDriver/MassStorageHost/makefile @@ -503,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 diff --git a/Demos/Host/ClassDriver/MouseHost/makefile b/Demos/Host/ClassDriver/MouseHost/makefile index 18a5a9dd2..9564b74ad 100644 --- a/Demos/Host/ClassDriver/MouseHost/makefile +++ b/Demos/Host/ClassDriver/MouseHost/makefile @@ -505,7 +505,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 diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/makefile b/Demos/Host/ClassDriver/MouseHostWithParser/makefile index 0c896d975..a579a2a74 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/makefile +++ b/Demos/Host/ClassDriver/MouseHostWithParser/makefile @@ -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 diff --git a/Demos/Host/ClassDriver/StillImageHost/makefile b/Demos/Host/ClassDriver/StillImageHost/makefile index def72a998..3a00809ab 100644 --- a/Demos/Host/ClassDriver/StillImageHost/makefile +++ b/Demos/Host/ClassDriver/StillImageHost/makefile @@ -502,7 +502,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 diff --git a/Demos/Host/Incomplete/BluetoothHost/makefile b/Demos/Host/Incomplete/BluetoothHost/makefile index 1d6ff3ba0..d0d7192f6 100644 --- a/Demos/Host/Incomplete/BluetoothHost/makefile +++ b/Demos/Host/Incomplete/BluetoothHost/makefile @@ -514,7 +514,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 diff --git a/Demos/Host/LowLevel/CDCHost/makefile b/Demos/Host/LowLevel/CDCHost/makefile index 7cc95745b..6c9c7c8f8 100644 --- a/Demos/Host/LowLevel/CDCHost/makefile +++ b/Demos/Host/LowLevel/CDCHost/makefile @@ -503,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 diff --git a/Demos/Host/LowLevel/GenericHIDHost/makefile b/Demos/Host/LowLevel/GenericHIDHost/makefile index 6e0641156..f04310d28 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/makefile +++ b/Demos/Host/LowLevel/GenericHIDHost/makefile @@ -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 diff --git a/Demos/Host/LowLevel/KeyboardHost/makefile b/Demos/Host/LowLevel/KeyboardHost/makefile index d6d635840..041420944 100644 --- a/Demos/Host/LowLevel/KeyboardHost/makefile +++ b/Demos/Host/LowLevel/KeyboardHost/makefile @@ -503,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 diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile index 5561ac7d3..bad75cc32 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile @@ -505,7 +505,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 diff --git a/Demos/Host/LowLevel/MIDIHost/makefile b/Demos/Host/LowLevel/MIDIHost/makefile index f40779673..1050de596 100644 --- a/Demos/Host/LowLevel/MIDIHost/makefile +++ b/Demos/Host/LowLevel/MIDIHost/makefile @@ -503,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 diff --git a/Demos/Host/LowLevel/MassStorageHost/makefile b/Demos/Host/LowLevel/MassStorageHost/makefile index 6030efa30..43309a3d4 100644 --- a/Demos/Host/LowLevel/MassStorageHost/makefile +++ b/Demos/Host/LowLevel/MassStorageHost/makefile @@ -505,7 +505,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 diff --git a/Demos/Host/LowLevel/MouseHost/makefile b/Demos/Host/LowLevel/MouseHost/makefile index 19be8d110..31d1a85e0 100644 --- a/Demos/Host/LowLevel/MouseHost/makefile +++ b/Demos/Host/LowLevel/MouseHost/makefile @@ -503,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 diff --git a/Demos/Host/LowLevel/MouseHostWithParser/makefile b/Demos/Host/LowLevel/MouseHostWithParser/makefile index 8cf9d43f9..d42f45e5a 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/makefile +++ b/Demos/Host/LowLevel/MouseHostWithParser/makefile @@ -505,7 +505,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 diff --git a/Demos/Host/LowLevel/PrinterHost/makefile b/Demos/Host/LowLevel/PrinterHost/makefile index b9f0eb575..54108ade7 100644 --- a/Demos/Host/LowLevel/PrinterHost/makefile +++ b/Demos/Host/LowLevel/PrinterHost/makefile @@ -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 diff --git a/Demos/Host/LowLevel/StillImageHost/makefile b/Demos/Host/LowLevel/StillImageHost/makefile index 64bf730d2..73cc35d7e 100644 --- a/Demos/Host/LowLevel/StillImageHost/makefile +++ b/Demos/Host/LowLevel/StillImageHost/makefile @@ -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 -- cgit v1.2.3