diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 83f3808945..806ada2a14 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -511,7 +511,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/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 0a1e02ea2a..8b16c35c63 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -513,7 +513,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/Bootloaders/Incomplete/MIDI/makefile b/Bootloaders/Incomplete/MIDI/makefile index 40bb8de574..af3df3bc3d 100644 --- a/Bootloaders/Incomplete/MIDI/makefile +++ b/Bootloaders/Incomplete/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/Bootloaders/TeensyHID/makefile b/Bootloaders/TeensyHID/makefile index 1eec1f9aee..6f45cf543b 100644 --- a/Bootloaders/TeensyHID/makefile +++ b/Bootloaders/TeensyHID/makefile @@ -512,7 +512,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/AudioInput/makefile b/Demos/Device/ClassDriver/AudioInput/makefile index 17514384ef..80f5e95728 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 7ece3734bf..b22ebf47cb 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 4aec962b9b..8b67fd3ba4 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 f3750170af..466865a6d7 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 17037623aa..1160f65285 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 2915b97b44..63d739f5c9 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 5f06d18120..9a6d396c9a 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 aaaa6e72e4..089ef05328 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 d9a0d23a19..7965e91892 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 62e0eb12ff..c4eee7b7c9 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 62f3a6913a..aa56743e76 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 a2ee1d86b8..2c28b98201 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 da62fa6201..ede6d1e0c7 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 c1b38ff235..c2ac4ba478 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 fa2f7bc518..21d6a9731b 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 606c5b77fb..cd91640a2e 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 f69c1caae3..934b3d014e 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 629d7d57ba..802a4dd5cf 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 e1f407c0c7..9e934b3341 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 88057eb200..ff6cf801ca 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 09d0d57f36..53612cab2f 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 bb391e2784..5bd4e00b17 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 e8c675c1f0..09f64724f6 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 5a23ad0485..eee62f1912 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 865bdcaed5..b5cfcd24f0 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 caa48651bf..74909f43a5 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 c607d5e977..6525db8ff5 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 diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile index 368061caf8..29f798ca89 100644 --- a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile +++ b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile @@ -509,7 +509,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/CDCHost/makefile b/Demos/Host/ClassDriver/CDCHost/makefile index 9163fd0874..345fbe45a8 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 6e869b5620..ab4704c7f4 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 06cf507b57..c0b31afc3b 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 548b4aec5c..ecfe023195 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 4b26d64ec1..24d9ee0b0e 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 18a5a9dd28..9564b74adf 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 0c896d975e..a579a2a746 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 def72a9988..3a00809abb 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 1d6ff3ba00..d0d7192f6c 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 7cc95745bc..6c9c7c8f8b 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 6e0641156e..f04310d28f 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 d6d6358401..0414209442 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 5561ac7d3c..bad75cc322 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 f407796730..1050de5965 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 6030efa307..43309a3d4d 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 19be8d110d..31d1a85e07 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 8cf9d43f9c..d42f45e5a1 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 b9f0eb575d..54108ade74 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 64bf730d26..73cc35d7ea 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 diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 6c7fb5c6c8..34c72864a9 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -30,6 +30,7 @@ * - Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using the incorrect mode (control/pipe) * to send report to the attached device * - Fixed ClassDriver AudioOutput device demo not selecting an audio output mode + * - Fixed incorrect SampleFrequencyType value in the AudioInput and AudioOutput ClassDriver demos' descriptors * * \section Sec_ChangeLog090924 Version 090924 * diff --git a/LUFA/ManPages/FutureChanges.txt b/LUFA/ManPages/FutureChanges.txt index 7ea7489fe4..5610b7cb40 100644 --- a/LUFA/ManPages/FutureChanges.txt +++ b/LUFA/ManPages/FutureChanges.txt @@ -16,13 +16,14 @@ * - Add ability to get number of bytes not written with pipe/endpoint write routines after an error * * Targeted for Future Releases: - * - Add standardized descriptor names to device and host class driver structures + * - Add standardized descriptor names to class driver structures * - Remake AVRStudio project files * - Add detailed overviews of how each demo works * - Master LUFA include file rather than per-module includes * - Change makefiles to allow for absolute LUFA location to be used * - Abstract out the physical media from the Mass Storage device demos * - Add RNDIS Host Class driver + * - Fix audio demos on Linux * - Make new demos * -# Multiple-report HID device * -# Mouse/CDC Dual Class Device diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 6f0cb92859..e89c5e86be 100644 --- a/Projects/AVRISP/makefile +++ b/Projects/AVRISP/makefile @@ -511,7 +511,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/Projects/Benito/makefile b/Projects/Benito/makefile index ac834b0add..9d898e54d9 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -511,7 +511,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/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index ace13c1ffb..2571ad3a2d 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -515,7 +515,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/Projects/MissileLauncher/makefile b/Projects/MissileLauncher/makefile index 18372a4e3b..5f8c3bc6f1 100644 --- a/Projects/MissileLauncher/makefile +++ b/Projects/MissileLauncher/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