From ad7bb3b54aa3ab29a0e1b255f76452a02f08db5b Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 15 Jul 2010 16:45:26 +0000 Subject: Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1391 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Demos/Device/ClassDriver/Keyboard/makefile | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'Demos/Device/ClassDriver/Keyboard') diff --git a/Demos/Device/ClassDriver/Keyboard/makefile b/Demos/Device/ClassDriver/Keyboard/makefile index c78a04e0..90599fb1 100644 --- a/Demos/Device/ClassDriver/Keyboard/makefile +++ b/Demos/Device/ClassDriver/Keyboard/makefile @@ -458,7 +458,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target. -all: begin gccversion sizebefore build checkinvalidevents showliboptions showtarget sizeafter end +all: begin gccversion sizebefore build showliboptions showtarget sizeafter end # Change the build target to build a HEX file or a library. build: elf hex eep lss sym @@ -501,17 +501,6 @@ sizeafter: @if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_AFTER); $(ELFSIZE); \ 2>/dev/null; echo; fi -$(LUFA_PATH)/LUFA/LUFA_Events.lst: - @$(MAKE) -C $(LUFA_PATH)/LUFA/ LUFA_Events.lst - -checkinvalidevents: $(LUFA_PATH)/LUFA/LUFA_Events.lst - @echo - @echo Checking for invalid events... - @$(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 ---- @@ -733,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets. -.PHONY : all checkinvalidevents showliboptions \ -showtarget begin finish end sizebefore sizeafter \ -gccversion build elf hex eep lss sym coff extcoff \ -program dfu flip flip-ee dfu-ee clean debug \ -clean_list clean_binary clean_doxygen gdb-config \ndoxygen \ No newline at end of file +.PHONY : all showliboptions showtarget begin \ +finish end sizebefore sizeafter gccversion build \ +elf hex eep lss sym coff extcoff program dfu flip \ +flip-ee dfu-ee clean debug clean_list clean_binary \ +clean_doxygen gdb-config doxygen \ No newline at end of file -- cgit v1.2.3