6a47e70743
Disable -Werror thanks to CFG_WERROR which is available since version
3.3.0 and
5355fdb841
to fix the following build failure with optee-client 3.11.0:
/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.11.0/libckteec/src/pkcs11_processing.c: In function 'ck_create_object':
/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.11.0/libckteec/src/pkcs11_processing.c:22:9: error: missing initializer for field 'buffer' of 'struct serializer' [-Werror=missing-field-initializers]
struct serializer obj = { };
^
Fixes:
- http://autobuild.buildroot.org/results/a3d663adb943aee814180f01d6e153b3309be962
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
23 lines
677 B
Makefile
23 lines
677 B
Makefile
################################################################################
|
|
#
|
|
# optee-client
|
|
#
|
|
################################################################################
|
|
|
|
OPTEE_CLIENT_VERSION = 3.12.0
|
|
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
|
|
|
|
OPTEE_CLIENT_CONF_OPTS = \
|
|
-DCFG_TEE_FS_PARENT_PATH=$(BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH) \
|
|
-DCFG_WERROR=OFF
|
|
|
|
define OPTEE_CLIENT_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 -D $(OPTEE_CLIENT_PKGDIR)/S30optee \
|
|
$(TARGET_DIR)/etc/init.d/S30optee
|
|
endef
|
|
|
|
$(eval $(cmake-package))
|