Dean Camera
8cd249c342
Add BIN build system target information to the documentation.
12 years ago
Dean Camera
6e8642185a
Fix corrupted disassembly listing (LSS) files due to linker relaxations; pass -mrelax to the compiler to make it aware of, and able to compensate for, linker relaxations.
12 years ago
Dean Camera
32fcf1ec53
Remove compiled BIN files when running "make clean" with the BUILD build system module.
12 years ago
Dean Camera
726b325c73
Update BUILD build system module to produce BIN files as well as HEX.
12 years ago
Dean Camera
ab8ae60058
Fixed incorrect ordering of the linker options in the build system causing link failures in some cases.
13 years ago
Dean Camera
de0df8b162
Update copyright year to 2013.
13 years ago
Dean Camera
2b43a6d7df
Add troubleshooting page to the build system section of the documentation.
13 years ago
Dean Camera
4641acc691
Add LINKER_RELAXATIONS option to the LUFA BUILD build system module.
13 years ago
Dean Camera
11fa17a7db
Add architecture test for the non-standard avr-size patch, so that it is not tested on architectures where the patch isn't available.
13 years ago
Dean Camera
6936fcbd60
Minor build system tweaks for platform compatibility.
13 years ago
Dean Camera
43658f336e
Remove unused check-source rule from the BUILD build system module.
13 years ago
Dean Camera
7375c789e1
Document build system targets. Add a rule to the BUILD module that is run if a source file does not exist to show an error to the user, rather than running the check-source rule before each build (slightly faster/more portable and the generated error is then a true make error).
13 years ago
Dean Camera
84fadb255e
Clean up BUILD module info output formatting, remove explicit gcc-version target and add ability to generate assembly listings of compiled source files for debug purposes.
13 years ago
Dean Camera
00ab25d321
Update the BUILD build system module to early abort and display an error if needed before trying to create the OBJDIR output object file directory.
13 years ago
Dean Camera
fb917b7016
Revert the default DEBUG_LEVEL setting from 3 to 2, as this is apparently causing segfaults on some builds of binutils-avr.
13 years ago
Dean Camera
3ca025f214
Add DEBUG_FORMAT and DEBUG_LEVEL optional parameters to the BUILD module. Turn off generation of debug information when performing a validation build, and when running the build tests.
13 years ago
Dean Camera
b7e3c86e4e
Rename build system module makefiles from "lufa.MODULE.in" to "lufa_MODULE.mk" to prevent makefile from assuming the include is an old style build rule, slowing down the build process.
...
Prevent the BUILD module from shell-executing multiple processes to determine the avr-size flags to speed up the build, unless the size rule is invoked.
Add warnings and set warnings as errors to the SingleUSBModeTest build test makefile.
13 years ago
Dean Camera
b2920402b4
Add check and error to the BUILD module if OBJDIR option is set but object filenames are not unique.
13 years ago
Dean Camera
fafb52118d
Fix broken builds when OBJDIR is specified in the BUILD build system module.
13 years ago
Dean Camera
c4da1929cd
Update BUILD build system module with OBJECT_FILES variable, for additional user-specified object files. Update HID build module with a small shim application to reprogram the EEPROM of a target.
13 years ago
Dean Camera
80fab49e1d
Add "mostlyclean" makefile target to the BUILD build system module.
13 years ago
Dean Camera
3f4efc6159
Make sure dependency files are generated for assembly files too in the BUILD build system module. Minor code cleanups.
13 years ago
Dean Camera
8b985b44b5
Fix hard-coded cross-arch utility name in the BUILD build system module.
13 years ago
Dean Camera
90b6bf9e25
Clean up BUILD build system module, expose "check-source" target for use in user applications.
13 years ago
Dean Camera
e5cf169469
Move out BUILD build system module start and end messages to the respective targets, as they are only used once.
13 years ago
Dean Camera
bf5b49ecf5
Add ability to archive build object files into a .a library file to the BUILD build system module.
13 years ago
Dean Camera
8ccc2b2272
Minor build system improvements - force default shell.
13 years ago
Dean Camera
cce71a74e7
Enable GCC's -pipe option by default, to build projects using intermediary logical OS pipes rather than temporary files on disk.
13 years ago
Dean Camera
c128d8783e
Minor build system improvements - move out AVRDUDE base flags into a makefile variable, clean up BUILD module.
13 years ago
Dean Camera
3d39cbe94b
Add ability to generate SYM files in the BUILD module. Clean up build system output to be slightly more human readable.
13 years ago
Dean Camera
9ab445518a
Add OBJDIR optional build variable to the BULD build system module, to allow the user project to relocate the output object and dependency files to a different directory.
13 years ago
Dean Camera
44ff0af68c
Add a list of module provided make variables and macros to the build system modules.
13 years ago
Dean Camera
59056ce544
Add compile time warnings for experimental architectures, for those that don't read the manual.
13 years ago
Dean Camera
6dc85e4023
Minor build system sanity check fixes.
13 years ago
Dean Camera
53be52922f
Change the build system build module makefiles to have a set of sanity check macros they can call to verify user data. Add additional sanity checks.
13 years ago
Dean Camera
6e29655b54
Update SVN line endings property on newer source files to native.
13 years ago
Dean Camera
0c012ede5f
Fix BUILD module so that user flags are applied after all auto-generated flags, ensure dependency files are generated with a .d extension rather than a .o.d extension, allow use of full part names ("at32uc3a0256") instead of GCC truncted part names ("uc3a0256").
13 years ago
Dean Camera
49ca5c3c83
Add new ATPROGRAM build system module. Add ATPROGRAM and CPPCHECK modules to all application makefiles.
13 years ago
Dean Camera
7d9467e431
Add symbol-sizes target to the BUILD build system module to print a size-sorted list of symbols from a compiled application, in decimal bytes.
13 years ago
Dean Camera
4124534144
Don't show a list of object/dependency files in the human friendly output of the BUILD module clean command. Use a unique message prefix for assembling vs. compiling.
13 years ago
Dean Camera
5af18ba288
Add explicit blank checks in the build system for user-set but blank variables that must not be blank.
13 years ago
Dean Camera
88425d7dab
Add .PHONY targets in all build system modules. Alter BUILD module so that the existence of source files are checked before the build is started.
13 years ago
Dean Camera
9f7f595382
Add $(MAKEFILE_LIST) as a dependency on build rules that could be altered by changes to the makefiles - if the user alters the project makefile, require that all modules are rebuilt.
13 years ago
Dean Camera
d0737f6ad5
Fix AVRDUDE and BUILD build system module comments.
13 years ago
Dean Camera
7655205aac
Clean up CORE build system module, use simple rather than recursive make variables for internal constants and $(shell) derived values.
13 years ago
Dean Camera
85579e12e4
Clean up BUILD build system module - seperate architecture utility prefix code and sanity check from the CC_FLAGS construction code. Add target to print GCC version.
13 years ago
Dean Camera
719a0e7f78
Add dependency file tracking to the BUILD build system module.
13 years ago
Dean Camera
4913678695
Fix UC3 support in the BUILD build system module. Fix bug in the EVK1101 board buttons driver.
13 years ago
Dean Camera
ecdffe2e41
Remove any variables in the optional build variable list that are marked as mandatory by one or more included build system modules in the CORE build system module. Alter DOXYGEN build system module to by default override the Doxygen configuration file stylesheet and replace it with the LUFA Doxygen stylesheet.
13 years ago
Dean Camera
e24993c13a
Ensure build tests use the system provided $(MAKE) variable to determine the command to invoke make, rather than a hard-coded name. Strip off excess whitespace from the list of object files when printing them out to the shell in the build system BUILD module.
13 years ago