aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-03-16 11:29:00 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-03-16 11:29:00 +0000
commite611b250c170c9e830f8212ca5d49e505e3f4af1 (patch)
treeb57c0580f4889bad21d203ae6bcd5dd83ab60504 /Projects
parent0214e096a0274fd506b09812f47dc1183084851d (diff)
downloadlufa-e611b250c170c9e830f8212ca5d49e505e3f4af1.tar.gz
lufa-e611b250c170c9e830f8212ca5d49e505e3f4af1.tar.bz2
lufa-e611b250c170c9e830f8212ca5d49e505e3f4af1.zip
Added extra output to makefiles to indicate the currently selected BOARD parameter.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/AVRISP_Programmer/makefile22
-rw-r--r--Projects/Magstripe/makefile20
2 files changed, 27 insertions, 15 deletions
diff --git a/Projects/AVRISP_Programmer/makefile b/Projects/AVRISP_Programmer/makefile
index 1ef7370c8..0938f0518 100644
--- a/Projects/AVRISP_Programmer/makefile
+++ b/Projects/AVRISP_Programmer/makefile
@@ -450,7 +450,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
@@ -499,8 +499,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 -----------
@@ -509,6 +509,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
@@ -713,8 +719,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
diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile
index 0abf05c21..98cf23de0 100644
--- a/Projects/Magstripe/makefile
+++ b/Projects/Magstripe/makefile
@@ -458,7 +458,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
@@ -507,7 +507,7 @@ 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
@@ -517,6 +517,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
@@ -721,8 +727,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