![Evgeniy Didin](/assets/img/avatar_default.png)
With the latest ARC toolchain arc-2018.03 builds of "trousers" and
"tpm-tools" packages perform without errors.
Lets enable these packages for ARC.
With the exception, building tpm-tools for ARC770/750 requires to pass
"-mno-compact-casesi" as it was made for trousers before:
see patch f4cd8ceb9c
"trousers: Pass "-mno-compact-casesi" when
building for ARCv1".
This change is a temporary workaround and the feature is going to be
fixed in the next ARC toolchain release version.
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
730 B
Makefile
24 lines
730 B
Makefile
################################################################################
|
|
#
|
|
# tpm-tools
|
|
#
|
|
################################################################################
|
|
|
|
TPM_TOOLS_VERSION = 1.3.9.1
|
|
TPM_TOOLS_SITE = http://downloads.sourceforge.net/project/trousers/tpm-tools/$(TPM_TOOLS_VERSION)
|
|
TPM_TOOLS_LICENSE = Common Public License Version 1.0
|
|
TPM_TOOLS_LICENSE_FILES = LICENSE
|
|
TPM_TOOLS_DEPENDENCIES = trousers openssl $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
TPM_TOOLS_CONF_ENV += LIBS='-liconv'
|
|
endif
|
|
|
|
ifeq ($(BR2_arc770d)$(BR2_arc750d),y)
|
|
TPM_TOOLS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mno-compact-casesi"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|