commit | 89e0c94916b4874f72074c40521f67e3ca90e42d | [log] [tgz] |
---|---|---|
author | Vadim Bendebury <vbendeb@chromium.org> | Wed Oct 06 21:38:25 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 08 02:06:29 2021 |
tree | 2159375e60a21a4f4cd6da052dcc95a4a0dec15d | |
parent | 2149ae0304029034c65eed0e73b63194550e639a [diff] |
Makefile: add a target to build an LTO module Instead of producing multiple object files for linking in the Cr50 code build a single object file with LTO. The implicit rule of %.cp.p: %.o will produce the desired output where the .bss segment is renamed. BUG=b:65253310 TEST=with matching changes in the Cr50 tree verified that the produced module works as expected. Change-Id: I7c4855f506d03c121fb2e2999261746bf0fb48dd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/tpm2/+/3210050 Tested-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org> Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>