b7cb6020e5
Bump OP-TEE Test package version to OP-TEE release 3.9.0.
Drop patch on scripts/file_to_c.py that is merged in 3.9.0.
Add patch from [1] for related issue found in 3.9.0 xtest tool.
Add patch to default disable xtest regression test 1027 and 1028 that
mandate changes in Linux kernel OP-TEE driver that are not available
in mainline, at least as of Linux kernel v5.7.
[1] e1af176af2
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# optee-test
|
|
#
|
|
################################################################################
|
|
|
|
OPTEE_TEST_VERSION = 3.9.0
|
|
OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION))
|
|
OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause,
|
|
OPTEE_TEST_LICENSE_FILES = LICENSE.md
|
|
|
|
OPTEE_TEST_DEPENDENCIES = optee-client optee-os
|
|
|
|
OPTEE_TEST_CONF_OPTS = -DOPTEE_TEST_SDK=$(OPTEE_OS_SDK)
|
|
|
|
# Trusted Application are not built from CMake due to ta_dev_kit
|
|
# dependencies. We must build and install them on target.
|
|
define OPTEE_TEST_BUILD_TAS
|
|
$(foreach f,$(wildcard $(@D)/ta/*_lib/Makefile) $(wildcard $(@D)/ta/*/Makefile), \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) \
|
|
TA_DEV_KIT_DIR=$(OPTEE_OS_SDK) \
|
|
-C $(dir $f) all
|
|
)
|
|
endef
|
|
define OPTEE_TEST_INSTALL_TAS
|
|
@mkdir -p $(TARGET_DIR)/lib/optee_armtz
|
|
@$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz $(@D)/ta/*/*.ta
|
|
endef
|
|
OPTEE_TEST_POST_BUILD_HOOKS += OPTEE_TEST_BUILD_TAS
|
|
OPTEE_TEST_POST_INSTALL_TARGET_HOOKS += OPTEE_TEST_INSTALL_TAS
|
|
|
|
$(eval $(cmake-package))
|