Makefile: Build crosvm image from pre-built tar.gz
Build the crosvm image from the cvd-host_package.tar.gz archive produced
by the Android build system. This allows Make to track the dependency
chain between files (instead of relying on directories), which can then
be expressed from end-to-end:
cvd-host_package.tar.gz -> crosvm.ext4 -> test-crosvm-*
so that tests requiring the image are now able to automatically re-build
it when the underlying archive has changed.
Support the existing update-prebuilts PHONY target by providing a
corresponding target, used to download the latest version of the
pre-built archive from the Android build servers.
Bug: 198568262
Test: make update-prebuilts-crosvm
Test: make test-crosvm-helloworld
Change-Id: I9325b21cb49a3df9667686b1e0404c49f40c62b1
1 file changed