Searched hist:"7 ee167f51064f8444dc4a30ab503509fb3514aed" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/ta/mk/ |
| H A D | build-user-ta.mk | 7ee167f51064f8444dc4a30ab503509fb3514aed Sun May 17 10:48:35 UTC 2020 Jan Kiszka <jan.kiszka@siemens.com> ta: Add missing default of user-ta-version
When a user TA is built with the TA dev kit (out-of-tree TA), user-ta-version is always set to the value of CFG_TA_VERSION (default: 0) by ta_dev_kit.mk. But for in-tree TAs, this variable is never set outside the in-tree TA makefiles (ta/*/user_ta.mk). Therefore it is mandatory for in-tree user TAs to set the variable or various issues will happen (build error or unexpected version taken from the TA that happened to have been built just before).
To address the problem and for consistency this commit sets a default value of 0 for user-ta-version in ta/mk/build-user-ta.mk before including user_ta.mk.
Fixes: 682f256caaf6 ("TA dev kit: expose CFG_TA_VERSION build option") Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Jerome Forissier <jerome@forissier.org>
|