WindCharger: Fixed u-boot build race condition.
The .depend file in the windcharger board's implementation dir looks for
a file that is autogenerated by the root Makefile:
include/version_autogenerated.h
This file can exist without having been completely created by the root
Makefile. This change forces the u-boot's main dependency array (built
by the root Makefile) to wait for the "version" directive to complete first.
This was tested using abf@ suggestion to splice in a sleep 5s in the
version directive while running a parallel make. This change resulted
in parallel makes completing successfully every time.
Change-Id: I23448f9ae07f538ffffb48cda7ba6cf4adf8f7d3
1 file changed