makefiles: improve build order
authorZachary T Welch <zw@superlucidity.net>
Tue, 10 Nov 2009 12:27:02 +0000 (04:27 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 13:40:48 +0000 (05:40 -0800)
commitb7b4efcdf1dcaa999a246f03ee52b16b57c8b1d5
tree4ab6233efc58e0e7f40b4a55fde777b1353db331
parentd796ce0e4d17e8a140ad0efa8c63c828ca185455
makefiles: improve build order

Separates various groups of files to be built in logical succession.
In each layer, the core module (target.c, nand.c, etc.) is built _after_
their helper modules (e.g. image.c, nand_ecc.c) but _before_ any of
their drivers (e.g. arm966e.c, mx3_nand.c).

This allows problems introduced at the bottom of the stack to result
in build failures as soon as possible, as the helpers and core should
wrap portions of them.
src/flash/Makefile.am
src/target/Makefile.am