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:
parent
be25b73b8e
commit
0a41939407
6 changed files with 173 additions and 142 deletions
|
@ -34,7 +34,6 @@
|
|||
*/
|
||||
|
||||
#include <mc1322x.h>
|
||||
#include <types.h>
|
||||
|
||||
__attribute__ ((section (".irq")))
|
||||
__attribute__ ((interrupt("IRQ")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue