]> git.ipfire.org Git - people/ms/u-boot.git/commit
Makefile: fix parallel builds
authorWolfgang Denk <wd@denx.de>
Wed, 30 Apr 2008 15:25:07 +0000 (17:25 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 30 Apr 2008 15:25:07 +0000 (17:25 +0200)
commitde109d909707e2dfe806be5efc3cdb103b47c8ad
tree9e40eee23385b8e17df4f8e1388a4340b4466f88
parent76617299358ebba260ecc02d33e8e75d8d13dd3b
Makefile: fix parallel builds

This problem shows up with parallel builds only; it results in
somewhat cryptic error messages like

$ JOBS=-j6 MAKEALL netstar
Configuring for netstar board...
arm-linux-ld: cannot find -lgeneric
make[1]: *** [eeprom.srec] Error 1

A few boards (like netstar and voiceblue) need some libraries for
building; however, the board Makefile does not contain any such
dependencies which may cause problems with parallel builds. Adding
such dependencies is difficult as we would also have to provide build
rules, which already exist in the respective library Makefiles.

To solve this, we make sure that all libraries get built before the
board code.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Makefile