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/Device/ClassDriver/AudioInput/makefile | 2 +- Demos/Device/ClassDriver/AudioOutput/makefile | 2 +- Demos/Device/ClassDriver/CDC/makefile | 4 ++-- Demos/Device/ClassDriver/DualCDC/makefile | 4 ++-- Demos/Device/ClassDriver/GenericHID/makefile | 4 ++-- Demos/Device/ClassDriver/Joystick/makefile | 4 ++-- Demos/Device/ClassDriver/Keyboard/makefile | 4 ++-- Demos/Device/ClassDriver/KeyboardMouse/makefile | 4 ++-- Demos/Device/ClassDriver/MIDI/makefile | 4 ++-- Demos/Device/ClassDriver/MassStorage/makefile | 4 ++-- Demos/Device/ClassDriver/Mouse/makefile | 4 ++-- Demos/Device/ClassDriver/RNDISEthernet/makefile | 4 ++-- Demos/Device/ClassDriver/USBtoSerial/makefile | 4 ++-- Demos/Device/Incomplete/Sideshow/makefile | 2 +- Demos/Device/LowLevel/AudioInput/makefile | 4 ++-- Demos/Device/LowLevel/AudioOutput/makefile | 4 ++-- Demos/Device/LowLevel/CDC/makefile | 4 ++-- Demos/Device/LowLevel/DualCDC/makefile | 4 ++-- Demos/Device/LowLevel/GenericHID/makefile | 4 ++-- Demos/Device/LowLevel/Joystick/makefile | 4 ++-- Demos/Device/LowLevel/Keyboard/makefile | 2 +- Demos/Device/LowLevel/KeyboardMouse/makefile | 2 +- Demos/Device/LowLevel/MIDI/makefile | 2 +- Demos/Device/LowLevel/MassStorage/makefile | 2 +- Demos/Device/LowLevel/Mouse/makefile | 2 +- Demos/Device/LowLevel/RNDISEthernet/makefile | 2 +- Demos/Device/LowLevel/USBtoSerial/makefile | 2 +- 27 files changed, 44 insertions(+), 44 deletions(-) (limited to 'Demos/Device') diff --git a/Demos/Device/ClassDriver/AudioInput/makefile b/Demos/Device/ClassDriver/AudioInput/makefile index 17514384e..80f5e9572 100644 --- a/Demos/Device/ClassDriver/AudioInput/makefile +++ b/Demos/Device/ClassDriver/AudioInput/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/Device/ClassDriver/AudioOutput/makefile b/Demos/Device/ClassDriver/AudioOutput/makefile index 7ece3734b..b22ebf47c 100644 --- a/Demos/Device/ClassDriver/AudioOutput/makefile +++ b/Demos/Device/ClassDriver/AudioOutput/makefile @@ -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 diff --git a/Demos/Device/ClassDriver/CDC/makefile b/Demos/Device/ClassDriver/CDC/makefile index 4aec962b9..8b67fd3ba 100644 --- a/Demos/Device/ClassDriver/CDC/makefile +++ b/Demos/Device/ClassDriver/CDC/makefile @@ -505,11 +505,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/DualCDC/makefile b/Demos/Device/ClassDriver/DualCDC/makefile index f3750170a..466865a6d 100644 --- a/Demos/Device/ClassDriver/DualCDC/makefile +++ b/Demos/Device/ClassDriver/DualCDC/makefile @@ -505,11 +505,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/GenericHID/makefile b/Demos/Device/ClassDriver/GenericHID/makefile index 17037623a..1160f6528 100644 --- a/Demos/Device/ClassDriver/GenericHID/makefile +++ b/Demos/Device/ClassDriver/GenericHID/makefile @@ -506,11 +506,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/Joystick/makefile b/Demos/Device/ClassDriver/Joystick/makefile index 2915b97b4..63d739f5c 100644 --- a/Demos/Device/ClassDriver/Joystick/makefile +++ b/Demos/Device/ClassDriver/Joystick/makefile @@ -506,11 +506,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/Keyboard/makefile b/Demos/Device/ClassDriver/Keyboard/makefile index 5f06d1812..9a6d396c9 100644 --- a/Demos/Device/ClassDriver/Keyboard/makefile +++ b/Demos/Device/ClassDriver/Keyboard/makefile @@ -506,11 +506,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/KeyboardMouse/makefile b/Demos/Device/ClassDriver/KeyboardMouse/makefile index aaaa6e72e..089ef0532 100644 --- a/Demos/Device/ClassDriver/KeyboardMouse/makefile +++ b/Demos/Device/ClassDriver/KeyboardMouse/makefile @@ -506,11 +506,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/MIDI/makefile b/Demos/Device/ClassDriver/MIDI/makefile index d9a0d23a1..7965e9189 100644 --- a/Demos/Device/ClassDriver/MIDI/makefile +++ b/Demos/Device/ClassDriver/MIDI/makefile @@ -504,11 +504,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/MassStorage/makefile b/Demos/Device/ClassDriver/MassStorage/makefile index 62e0eb12f..c4eee7b7c 100644 --- a/Demos/Device/ClassDriver/MassStorage/makefile +++ b/Demos/Device/ClassDriver/MassStorage/makefile @@ -508,11 +508,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/Mouse/makefile b/Demos/Device/ClassDriver/Mouse/makefile index 62f3a6913..aa56743e7 100644 --- a/Demos/Device/ClassDriver/Mouse/makefile +++ b/Demos/Device/ClassDriver/Mouse/makefile @@ -507,11 +507,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/RNDISEthernet/makefile b/Demos/Device/ClassDriver/RNDISEthernet/makefile index a2ee1d86b..2c28b9820 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/makefile +++ b/Demos/Device/ClassDriver/RNDISEthernet/makefile @@ -517,11 +517,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/ClassDriver/USBtoSerial/makefile b/Demos/Device/ClassDriver/USBtoSerial/makefile index da62fa620..ede6d1e0c 100644 --- a/Demos/Device/ClassDriver/USBtoSerial/makefile +++ b/Demos/Device/ClassDriver/USBtoSerial/makefile @@ -506,11 +506,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/Incomplete/Sideshow/makefile b/Demos/Device/Incomplete/Sideshow/makefile index c1b38ff23..c2ac4ba47 100644 --- a/Demos/Device/Incomplete/Sideshow/makefile +++ b/Demos/Device/Incomplete/Sideshow/makefile @@ -510,7 +510,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/Device/LowLevel/AudioInput/makefile b/Demos/Device/LowLevel/AudioInput/makefile index fa2f7bc51..21d6a9731 100644 --- a/Demos/Device/LowLevel/AudioInput/makefile +++ b/Demos/Device/LowLevel/AudioInput/makefile @@ -504,11 +504,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/LowLevel/AudioOutput/makefile b/Demos/Device/LowLevel/AudioOutput/makefile index 606c5b77f..cd91640a2 100644 --- a/Demos/Device/LowLevel/AudioOutput/makefile +++ b/Demos/Device/LowLevel/AudioOutput/makefile @@ -505,11 +505,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/LowLevel/CDC/makefile b/Demos/Device/LowLevel/CDC/makefile index f69c1caae..934b3d014 100644 --- a/Demos/Device/LowLevel/CDC/makefile +++ b/Demos/Device/LowLevel/CDC/makefile @@ -504,11 +504,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/LowLevel/DualCDC/makefile b/Demos/Device/LowLevel/DualCDC/makefile index 629d7d57b..802a4dd5c 100644 --- a/Demos/Device/LowLevel/DualCDC/makefile +++ b/Demos/Device/LowLevel/DualCDC/makefile @@ -504,11 +504,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/LowLevel/GenericHID/makefile b/Demos/Device/LowLevel/GenericHID/makefile index e1f407c0c..9e934b334 100644 --- a/Demos/Device/LowLevel/GenericHID/makefile +++ b/Demos/Device/LowLevel/GenericHID/makefile @@ -504,11 +504,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/LowLevel/Joystick/makefile b/Demos/Device/LowLevel/Joystick/makefile index 88057eb20..ff6cf801c 100644 --- a/Demos/Device/LowLevel/Joystick/makefile +++ b/Demos/Device/LowLevel/Joystick/makefile @@ -504,11 +504,11 @@ $(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 - + showliboptions: @echo @echo ---- Compile Time Library Options ---- diff --git a/Demos/Device/LowLevel/Keyboard/makefile b/Demos/Device/LowLevel/Keyboard/makefile index 09d0d57f3..53612cab2 100644 --- a/Demos/Device/LowLevel/Keyboard/makefile +++ b/Demos/Device/LowLevel/Keyboard/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/Device/LowLevel/KeyboardMouse/makefile b/Demos/Device/LowLevel/KeyboardMouse/makefile index bb391e278..5bd4e00b1 100644 --- a/Demos/Device/LowLevel/KeyboardMouse/makefile +++ b/Demos/Device/LowLevel/KeyboardMouse/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/Device/LowLevel/MIDI/makefile b/Demos/Device/LowLevel/MIDI/makefile index e8c675c1f..09f64724f 100644 --- a/Demos/Device/LowLevel/MIDI/makefile +++ b/Demos/Device/LowLevel/MIDI/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/Device/LowLevel/MassStorage/makefile b/Demos/Device/LowLevel/MassStorage/makefile index 5a23ad048..eee62f191 100644 --- a/Demos/Device/LowLevel/MassStorage/makefile +++ b/Demos/Device/LowLevel/MassStorage/makefile @@ -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 diff --git a/Demos/Device/LowLevel/Mouse/makefile b/Demos/Device/LowLevel/Mouse/makefile index 865bdcaed..b5cfcd24f 100644 --- a/Demos/Device/LowLevel/Mouse/makefile +++ b/Demos/Device/LowLevel/Mouse/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/Device/LowLevel/RNDISEthernet/makefile b/Demos/Device/LowLevel/RNDISEthernet/makefile index caa48651b..74909f43a 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/makefile +++ b/Demos/Device/LowLevel/RNDISEthernet/makefile @@ -517,7 +517,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/Device/LowLevel/USBtoSerial/makefile b/Demos/Device/LowLevel/USBtoSerial/makefile index c607d5e97..6525db8ff 100644 --- a/Demos/Device/LowLevel/USBtoSerial/makefile +++ b/Demos/Device/LowLevel/USBtoSerial/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 -- cgit v1.2.3