2019-01-30 11:47:24 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# optee-client
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-25 09:34:54 +02:00
|
|
|
OPTEE_CLIENT_VERSION = 3.15.0
|
2019-01-30 11:47:24 +01:00
|
|
|
OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION))
|
|
|
|
OPTEE_CLIENT_LICENSE = BSD-2-Clause
|
|
|
|
OPTEE_CLIENT_LICENSE_FILES = LICENSE
|
|
|
|
OPTEE_CLIENT_INSTALL_STAGING = YES
|
|
|
|
|
2020-03-24 16:42:55 +01:00
|
|
|
OPTEE_CLIENT_CONF_OPTS = \
|
2020-11-01 21:43:49 +01:00
|
|
|
-DCFG_TEE_FS_PARENT_PATH=$(BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH) \
|
|
|
|
-DCFG_WERROR=OFF
|
2020-03-24 16:42:55 +01:00
|
|
|
|
2021-10-25 09:34:58 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPTEE_CLIENT_RPMB_EMU),y)
|
|
|
|
OPTEE_CLIENT_CONF_OPTS += -DRPMB_EMU=ON
|
|
|
|
else
|
|
|
|
OPTEE_CLIENT_CONF_OPTS += -DRPMB_EMU=OFF
|
|
|
|
endif
|
|
|
|
|
2021-10-25 09:34:57 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPTEE_CLIENT_SUPP_PLUGINS),y)
|
|
|
|
OPTEE_CLIENT_CONF_OPTS += -DCFG_TEE_SUPP_PLUGINS=ON
|
|
|
|
else
|
|
|
|
OPTEE_CLIENT_CONF_OPTS += -DCFG_TEE_SUPP_PLUGINS=OFF
|
|
|
|
endif
|
|
|
|
|
2019-01-30 11:47:24 +01:00
|
|
|
define OPTEE_CLIENT_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 0755 -D $(OPTEE_CLIENT_PKGDIR)/S30optee \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S30optee
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|