commit | 227d6f4c40eaa6f84fe049b9e48c7b27ad7fab08 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Wed Oct 09 16:43:22 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Thu Oct 10 09:24:16 2019 +0200 |
tree | 10a9ccb14be2771b9af928d8a4d3e9fc189bad26 | |
parent | e2a58c62f777f15ec71421651647cda157f48dc2 [diff] |
xtest/Makefile: drop COMPILE_NS_USER and detect arch automatically COMPILE_NS_USER is used by the xtest Makefile to link against either the 32-bit or 64-bit version of OpenSSL (libcrypto.a). Historically, the top level Makefile of the OP-TEE build project would take COMPILE_NS_USER as an input, with value 32 or 64, and derive the path to the appropriate cross-compiler. But given that the cross-compiler may also be customized via CROSS_COMPILE/CROSS_COMPILE_HOST, inconsistencies can happen. There is no reason to keep COMPILE_NS_USER, since its value can be derived from the compiler itself. This commit adds macros to do just that and uses them to select the proper libcrypto library. Signed-off-by: Jerome Forissier <jerome@forissier.org> Reported-by: Denys Dmytriyenko <denys@ti.com> Acked-by: Andrew F. Davis <afd@ti.com>
This git contains source code for the test suite (xtest) used to test the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.
// OP-TEE core maintainers