From e611b250c170c9e830f8212ca5d49e505e3f4af1 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 16 Mar 2009 11:29:00 +0000 Subject: Added extra output to makefiles to indicate the currently selected BOARD parameter. --- Demos/BluetoothHost/makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'Demos/BluetoothHost/makefile') diff --git a/Demos/BluetoothHost/makefile b/Demos/BluetoothHost/makefile index 0adac4bcd..9fd93d4bf 100644 --- a/Demos/BluetoothHost/makefile +++ b/Demos/BluetoothHost/makefile @@ -454,7 +454,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target. -all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end +all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end # Change the build target to build a HEX file or a library. build: elf hex eep lss sym @@ -503,8 +503,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ echo "(None)" - @echo ----- End Unhooked LUFA Events ----- - + @echo ------------------------------------ + checklibmode: @echo @echo ----------- Library Mode ----------- @@ -513,6 +513,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)." @echo ------------------------------------ +checkboard: + @echo + @echo ---------- Selected Board ---------- + @echo Selected board model is $(BOARD). + @echo ------------------------------------ + # Display compiler version information. gccversion : @$(CC) --version @@ -717,8 +723,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets. -.PHONY : all checkhooks checklibmode begin \ -finish end sizebefore sizeafter gccversion \ -build elf hex eep lss sym coff extcoff \ -clean clean_list clean_binary program debug \ -gdb-config doxygen dfu flip flip-ee dfu-ee +.PHONY : all checkhooks checklibmode checkboard \ +begin finish end sizebefore sizeafter gccversion \ +build elf hex eep lss sym coff extcoff clean \ +clean_list clean_binary program debug gdb-config \ +doxygen dfu flip flip-ee dfu-ee \ No newline at end of file -- cgit v1.2.3