chromeos-ec: Support unified builds when source is missing
We cannot currently build chromeos-ec with:
USE=unibuild emerge-reef chromeos-ec
This is because it tries to build pyro and snappy as well, and the souce
code for those is not present in ToT.
Work around this by adding a new EC_FIRMWARE_UNIBUILD_FAKE setting,
specifying firmware that is not built, but is in fact copied over from
the board which is present in ToT.
More details are in the bug.
BUG=chromium:721457
TEST=./build_packages --board=reef-uni --nowithautotest --noworkon
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I4edf5006dba27d631eee278230d695b1efab0956
Reviewed-on: https://chromium-review.googlesource.com/503468
Commit-Ready: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
1 file changed