Jim Paris
d5118ba63d
Always make directories before building files in OBJDIR
...
This lets us put things like fatfs/ff.o in COBJS
2010-10-16 13:28:20 -04:00
Jim Paris
03293b60ad
Fix a makefile dependency with libraries
...
Using the implicit rules for libraries leads to problems if one of the
objects fails to build, but the others are still OK. Just make all
library rules explicit to avoid this.
2010-09-28 16:01:15 -04:00
Jim Paris
6b4d6a9ade
Use a variable for all target objects
...
Instead of specifying them individually. This lets included makefiles
(like my audio/Makefile.include) append objects.
2010-09-28 02:54:23 -04:00
Jim Paris
036b80e3c1
Support hardcoded dependencies, for generated files
2010-09-28 02:15:43 -04:00
Jim Paris
0e6d5bc9dc
Another rule to disassemble board objects
2010-09-27 20:04:24 -04:00
Jim Paris
4a5508e5b8
Fix #ifdefs in board files
2010-09-25 15:29:10 -04:00
Jim Paris
b00708cf78
Put main dir on include path
...
Now the user can supply their own foo.h that obj_foo/board.h will include
2010-09-25 15:26:44 -04:00
Jim Paris
ebac883e25
Handle empty board.a (no COBJS defined)
2010-09-25 15:09:26 -04:00
Jim Paris
0c163122da
Pretty-print the output by default.
...
This makes it a lot easier to see what's going on, and let me find
some problems. Use "make Q=" or set Q= blank in your user Makefile
to see the full commands.
2010-09-24 18:22:11 -04:00
Jim Paris
0a41939407
Makefile cleanup.
...
This is an attempt to fix and cleanup all of the rules, and get rid of
some of the recursion. We still need to invoke make several times
when we're building for more than one board, and some things can get a
bit weird when that happens, but it should generally work. A single
BOARD=foo build should be fully correct, now.
I attempted to keep things compatible, so existing Makefiles that
include libmc1322x/Makefile.include should still work correctly.
2010-09-24 16:29:43 -04:00
Mariano Alvira
6195931bd4
add attribution and license headers to source files. TODO item about
...
start.S and printf.c
2010-05-08 13:03:36 -04:00
Mariano Alvira
2ae64e0802
added freescale-ncb board.
2010-05-04 17:14:31 -04:00
Mariano Alvira
444d79e55f
more complete quahogcon board header
2010-05-04 12:55:07 -04:00
Mariano Alvira
556477e6a0
very small tweak to the usb board's trim caps.
2010-03-21 16:03:48 -04:00
Mariano Alvira
7d02575d16
add new board for the QuahogCon badge
2010-03-16 22:06:06 -04:00
Mariano Alvira
35c9c66c23
use new gpio interface
2010-03-16 22:03:38 -04:00
Mariano Alvira
fecb5e7bdb
many warning cleanups.
...
Contributed by Clive Stubbings.
2010-03-13 07:30:47 -05:00
Mariano Alvira
1d1317a136
trim values for the production econotags
2010-03-09 18:46:37 -05:00
Mariano Alvira
4b17c144d0
LEDs now indicate bit position (instead of (1 << pos)) which is more
...
consistent with how everything else works
2010-03-07 15:39:56 -05:00
Mariano Alvira
de4080c359
removed bad touch
2010-03-01 14:30:19 -05:00
Mariano Alvira
1cc1ec5d60
need to fix deps and board.h link generation
2010-03-01 13:05:10 -05:00
Mariano Alvira
0a51c610d4
econotag and usb boards
2010-03-01 13:04:53 -05:00
Mariano Alvira
5f754e185b
add econotag and usb boards
2010-03-01 13:03:05 -05:00
Mariano Alvira
eb94e7daaf
add ref. crystal trimming.
2010-03-01 13:01:51 -05:00
Mariano Alvira
87cd9c7a36
update build system for board specific code that's 'local' to the
...
program you are building.
update tests to consolidate common code.
2010-02-26 14:04:10 -05:00
Mariano Alvira
9a8004c177
working on nvm-read.
...
fixed lib ordering on link command
2010-02-26 12:37:13 -05:00
Mariano Alvira
59dca22769
clean up default_vreg_init
2010-02-26 07:30:53 -05:00
Mariano Alvira
bfe8814c90
makefile hints
2010-02-26 07:16:06 -05:00
Mariano Alvira
0c4f5c61ef
need a way to run board specific lowlevel inits
...
like for vreg. this is a start.
2010-02-24 18:47:53 -05:00
Mariano Alvira
e38f9db224
force links
2010-02-24 13:35:46 -05:00
Mariano Alvira
f79c71153a
now running just 'make' builds all the targets for all the boards.
2010-02-23 18:54:50 -05:00
Mariano Alvira
8ca9a0269e
better variable defs.
...
touch objdir to fix problem where board.h would try to get created
after it's already been created.
2010-02-23 18:14:32 -05:00
Mariano Alvira
59391d7529
board.h works now
2010-02-23 15:53:00 -05:00
Mariano Alvira
1522b72b1e
clean up gpio and leds
2010-02-23 15:16:12 -05:00
Mariano Alvira
dcc2d5299c
for now you must define BOARD.
...
I'd like it to be though that if board isn't defined then it makes
everything.
2010-02-22 19:18:48 -05:00
Mariano Alvira
1759ff01a0
getting there...
2010-02-21 18:47:12 -05:00
Mariano Alvira
8c17fc36d1
starting libmc1322x.a
2009-12-15 14:18:48 -05:00