verity-static: bring back static compilation for verity

This is old, but the basics of this are good. This shows how to get
all your static libraries dynamically and link them.  The trick is picking PIC
over PIE since toolchains rarely ship with PIE components.  If we havepie
archives, we should use them :)

TEST=builds and runs

Change-Id: I070d4eff8fb3bdc604ea67ee3f67dac50d03740e
Reviewed-by: Don Garrett <>
Tested-by: Will Drewry <>
Commit-Ready: Will Drewry <>
2 files changed