Searched hist:"3 bfa418b7745973ae84d381da1ca546ee702ba08" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/mk/ |
| H A D | config.mk | 3bfa418b7745973ae84d381da1ca546ee702ba08 Fri May 13 12:16:46 UTC 2022 Jerome Forissier <jerome.forissier@linaro.org> build: introduce CFG_OPTEE_REVISION_EXTRA
Adds CFG_OPTEE_REVISION_EXTRA (default: empty) which can be used to append a custom string to the revision string shown in the boot banner. A typical use case is build environments such as Yocto/OpenEmbedded which check out a particular version of the optee_os repository and may add patches on top. In this case the revision string is something like:
3.17.0-dev (gcc version ...
which doesn't give any information on what modifications are added and therefore makes it difficult to know for sure if a deployed binary is indeed the expected one (even more so when the build date is fixed via SOURCE_DATE_EPOCH for reproducible builds). CFG_OPTEE_REVISION_EXTRA allows to append a specific build identifier. For example:
$ make CFG_OPTEE_REVISION_EXTRA=-mybuild_1234
would give:
3.17.0-dev-mybuild_1234
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
|