Remove unused check-source rule from the BUILD build system module.

pull/1469/head
Dean Camera 12 years ago
parent 4b194592aa
commit 43658f336e

@ -7,7 +7,7 @@
# #
LUFA_BUILD_MODULES += BUILD LUFA_BUILD_MODULES += BUILD
LUFA_BUILD_TARGETS += size check-source symbol-sizes all lib elf hex lss clean mostlyclean LUFA_BUILD_TARGETS += size symbol-sizes all lib elf hex lss clean mostlyclean
LUFA_BUILD_MANDATORY_VARS += TARGET ARCH MCU SRC F_USB LUFA_PATH LUFA_BUILD_MANDATORY_VARS += TARGET ARCH MCU SRC F_USB LUFA_PATH
LUFA_BUILD_OPTIONAL_VARS += BOARD OPTIMIZATION C_STANDARD CPP_STANDARD F_CPU C_FLAGS CPP_FLAGS ASM_FLAGS CC_FLAGS LD_FLAGS OBJDIR OBJECT_FILES DEBUG_TYPE DEBUG_LEVEL LUFA_BUILD_OPTIONAL_VARS += BOARD OPTIMIZATION C_STANDARD CPP_STANDARD F_CPU C_FLAGS CPP_FLAGS ASM_FLAGS CC_FLAGS LD_FLAGS OBJDIR OBJECT_FILES DEBUG_TYPE DEBUG_LEVEL
LUFA_BUILD_PROVIDED_VARS += LUFA_BUILD_PROVIDED_VARS +=
@ -25,8 +25,6 @@ LUFA_BUILD_PROVIDED_MACROS +=
# size - List built application size # size - List built application size
# symbol-sizes - Print application symbols from the binary ELF # symbol-sizes - Print application symbols from the binary ELF
# file as a list sorted by size in bytes # file as a list sorted by size in bytes
# check-source - Print a list of SRC source files that cannot
# be found
# all - Build application and list size # all - Build application and list size
# lib - Build and archive source files into a library # lib - Build and archive source files into a library
# elf - Build application ELF debug object file # elf - Build application ELF debug object file
@ -219,20 +217,11 @@ build_begin:
build_end: build_end:
@echo $(MSG_INFO_MESSAGE) Finished building project \"$(TARGET)\". @echo $(MSG_INFO_MESSAGE) Finished building project \"$(TARGET)\".
# Checks all target source files and provides information on whether they exist or not
check-source:
@for f in $(SRC); do \
if [ ! -f $$f ]; then \
echo "Error: Source file not found: $$f"; \
exit 1; \
fi; \
done
# Prints size information of a compiled application (FLASH, RAM and EEPROM usages) # Prints size information of a compiled application (FLASH, RAM and EEPROM usages)
size: $(TARGET).elf size: $(TARGET).elf
@echo $(MSG_SIZE_CMD) Determining size of \"$<\" @echo $(MSG_SIZE_CMD) Determining size of \"$<\"
@echo "" @echo ""
$(CROSS)-size $(SIZE_MCU_FLAG) $(SIZE_FORMAT_FLAG) $< ; 2>/dev/null; $(CROSS)-size $(SIZE_MCU_FLAG) $(SIZE_FORMAT_FLAG) $<
# Prints size information on the symbols within a compiled application in decimal bytes # Prints size information on the symbols within a compiled application in decimal bytes
symbol-sizes: $(TARGET).elf symbol-sizes: $(TARGET).elf
@ -262,7 +251,7 @@ lss: $(TARGET).lss
sym: $(TARGET).sym sym: $(TARGET).sym
# Default target to *create* the user application's specified source files; if this rule is executed by # Default target to *create* the user application's specified source files; if this rule is executed by
# make, the input source file doens't exist and an error needs to be presented to the user # make, the input source file doesn't exist and an error needs to be presented to the user
$(SRC): $(SRC):
$(error Source file does not exist: $@) $(error Source file does not exist: $@)
@ -330,4 +319,4 @@ $(OBJDIR)/%.o: %.S $(MAKEFILE_LIST)
-include $(DEPENDENCY_FILES) -include $(DEPENDENCY_FILES)
# Phony build targets for this module # Phony build targets for this module
.PHONY: build_begin build_end check-source size symbol-sizes lib elf hex lss clean mostlyclean .PHONY: build_begin build_end size symbol-sizes lib elf hex lss clean mostlyclean

@ -74,10 +74,6 @@
* <td>Display a size-sorted list of symbols from the compiled application, in decimal bytes.</td> * <td>Display a size-sorted list of symbols from the compiled application, in decimal bytes.</td>
* </tr> * </tr>
* <tr> * <tr>
* <td><tt>check-source</tt></td>
* <td>Display a list of input SRC source files which cannot be found (if any).</td>
* </tr>
* <tr>
* <td><tt>lib</tt></td> * <td><tt>lib</tt></td>
* <td>Build and archive all source files into a library A binary file.</td> * <td>Build and archive all source files into a library A binary file.</td>
* </tr> * </tr>

@ -97,6 +97,7 @@
* \li Programmable XBOX controller: http://richard-burke.dyndns.org/wordpress/pan-galactic-gargantuan-gargle-brain-aka-xbox-360-usb-controller/ * \li Programmable XBOX controller: http://richard-burke.dyndns.org/wordpress/pan-galactic-gargantuan-gargle-brain-aka-xbox-360-usb-controller/
* \li PSGroove, a Playstation 3 Homebrew dongle: http://github.com/psgroove * \li PSGroove, a Playstation 3 Homebrew dongle: http://github.com/psgroove
* \li PS/2 to USB adapter: https://github.com/makestuff/p2ukbd * \li PS/2 to USB adapter: https://github.com/makestuff/p2ukbd
* \li RaspiFace, an Arduino platform bridge for the Raspberry Pi: http://www.raspiface.com/
* \li Reprap with LUFA, a LUFA powered 3D printer: http://code.google.com/p/at90usb1287-code-for-arduino-and-eclipse/ * \li Reprap with LUFA, a LUFA powered 3D printer: http://code.google.com/p/at90usb1287-code-for-arduino-and-eclipse/
* \li RFPirate, a RF experimentation platform: https://github.com/ebuller/RF-Pirate * \li RFPirate, a RF experimentation platform: https://github.com/ebuller/RF-Pirate
* \li RF Transciever using the MRF49XA: http://alternet.us.com/?page_id=1494 * \li RF Transciever using the MRF49XA: http://alternet.us.com/?page_id=1494

Loading…
Cancel
Save