diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-06-24 11:16:26 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-06-25 21:23:04 -0400 |
commit | 2c043efb66416f3d5cd85f0939054766082354de (patch) | |
tree | d5b79a987b9e6e029a0b3b0355bd925f98960940 /libmaple/gpio.c | |
parent | 70a18f96b6d55d23ce58ab40ffb61f172c8f6c73 (diff) | |
download | librambutan-2c043efb66416f3d5cd85f0939054766082354de.tar.gz librambutan-2c043efb66416f3d5cd85f0939054766082354de.zip |
make: Modularize makefiles, add dependency tracking, build-type tracking
Major build system rewrite. New and exciting:
1. Proper dependency tracking. All source files including header files
should be properly tracked and recompiled as necessary when they are
changed.
2. Build-type tracking. If the target changes from 'ram' to 'flash,'
for example, the build system will force a rebuild rather than
incorrectly link modules to a different address.
3. New targets:
The old 'ram,' 'flash,' and 'jtag' targets have been replaced with
the environment variable MAPLE_TARGET, which controls the link address.
Users can either export it to their environment, or pass MAPLE_TARGET on
the command-line. Once this is set, sketches can be compiled with 'make
sketch,' or simply 'make.'
Note: the default is MAPLE_TARGET='flash.'
The target 'install' now automagically uploads the sketch to the board
using the appropriate method.
The 'run' target has been renamed to 'debug.' It starts an openocd gdb
server.
4. Odds and ends:
-Verbose and 'quiet' modes. Set V=1 for verbose compilation, the default
is quiet.
-Object file sizes and disassembly information is generated and placed
in build/$(BOARD).sizes and build/$(BOARD).disas, respectively.
-Parallel make with -j should speed things up if you have multiple
cores.
Diffstat (limited to 'libmaple/gpio.c')
0 files changed, 0 insertions, 0 deletions