Create a static library of libdm-bht

This pulls in the C sources into a library as well as the kernel
implementations of the hashes, so that the installer can statically
link them in.  We have to do a few non-obvious things in order to get
libdm-bht.a instead of libdm-bht.pic.a due to the double invocation of
that rule -- added TODO(wad) to fix that.

TEST=manual: build verity, ensure libdm-bht.a is created (won't be

Change-Id: I4037c68d3fc2c1dfdcfed4a603b49b57dd06562b
Tested-by: Sonny Rao <>
Reviewed-by: Sonny Rao <>
Commit-Ready: Sonny Rao <>
1 file changed