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.
This commit is contained in:
Jim Paris 2010-09-20 16:28:22 -04:00
parent be25b73b8e
commit 0a41939407
6 changed files with 173 additions and 142 deletions

View file

@ -34,7 +34,6 @@
*/
#include <mc1322x.h>
#include <types.h>
__attribute__ ((section (".irq")))
__attribute__ ((interrupt("IRQ")))