boot/optee-os: support alternate image files
authorEtienne Carriere <etienne.carriere@linaro.org>
Fri, 1 Mar 2019 16:47:13 +0000 (17:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 3 Aug 2019 16:07:57 +0000 (18:07 +0200)
commitc3ebde5ced55bcd5feac0886f3f1e0f7f623a832
tree099e72dd8070f208e9fc60ed0780877e6e0deaab
parent67a52f6fc9fe9fbe3b6ab3399ff1b55c2b4ed47c
boot/optee-os: support alternate image files

Some platform may generate specific boot image files instead of
the generic files tee.bin and tee-*_v2.bin when building OP-TEE OS
package.

This change introduces optee-os configuration directive
BR2_TARGET_OPTEE_OS_CORE_IMAGES that allows board configuration
to specify its expected boot image file names.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: use the current hardcoded values as the default for the new
config option, to avoid breaking existing setups, and therefore use
$(wildcard ...) to support wildcards]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/optee-os/Config.in
boot/optee-os/optee-os.mk