Commit Graph

11 Commits

Author SHA1 Message Date
Evgeniy Didin
a65194b3fe trousers/tpm-tools: enable on ARC
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>
2018-06-28 22:00:55 +02:00
Yair Ben Avraham
954fef2281 tpm-tools: bump to version 1.3.9.1
This patch contains the following changes:
 - Remove all three patches, they are included in upstream version
 - Add locally calculated sha256 hash
 - Remove <pkg>_STRIP_COMPONENTS = 2, there is no leading directory
 - Remove <pkg>_AUTORECONF and <pkg>_GETTEXTIZE since all the patches are
   being removed.

Signed-off-by: Yair Ben Avraham <yairba@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2018-01-07 16:00:04 +01:00
Thomas Petazzoni
b3dd9a4b88 tpm-tools: use the new gettext logic
This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 01:35:41 +02:00
Adam Duskett
168be5c2db package/t*/Config.in: fix ordering of statements
The check-package script when ran gives warnings on ordering issues
on all of these Config files.  This patch cleans up all warnings
related to the ordering in the Config files for packages starting with
the letter t in the package directory.

The appropriate ordering is: type, default, depends on, select, help
See http://nightly.buildroot.org/#_config_files for more information.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-02 14:42:05 +02:00
Thomas Petazzoni
23fa0f66a0 trousers: disable on ARC
This package has been failing to build on ARC due to a toolchain bug
since December 2015, causing a total of 168 build failures. Therefore,
let's disable this package for now, until the toolchain issue gets
resolved.

Fixes^Wavoids:

  http://autobuild.buildroot.net/results/e65d1d7c5a4dd4616167cfe2aa938be6af139602/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-02-16 15:23:57 +01:00
Jerzy Grzegorek
caa813275d package: remove the default value of the $(PKG)_SOURCE variable
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-25 16:46:29 +13:00
Peter Korsgaard
1939b393e3 tpm-tools: fix .mk file header
The file header should use 80 #'s.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:27:56 +01:00
Peter Korsgaard
0acc3ac16d tpm-tools: enable GETTEXTIZE to fix build with locale
Otherwise it ends up with a empty MKDIR_P variable, breaking the build:

Making install in po
make[2]: Entering directory `/home/test/autobuild/instance-2/output/build/tpm-tools-1.3.8/po'
/home/test/autobuild/instance-2/output/target/usr/share
make[2]: execvp: /home/test/autobuild/instance-2/output/target/usr/share: Permission denied
make[2]: *** [install-data-yes] Error 127

Fixes:
http://autobuild.buildroot.net/results/53f/53f85bcde19dc79b1266775a26e51bee1266ba7b/
http://autobuild.buildroot.net/results/979/979908a5a159d65b56f196629330892461c0a5a1/
http://autobuild.buildroot.net/results/44e/44e00da2948164ed72212310617d7d621fb0416c/
http://autobuild.buildroot.net/results/c3e/c3e3bfb22dd8e6972e74ce248e4af692aef1b0cf/
And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-08 18:25:44 +01:00
Noé Rubinstein
c79d685975 tpm-tools: fix build failures caused by -Werror
This fixes this build failure (and many others):
  http://autobuild.buildroot.org/results/d56/d56bfc69ef0a478219c959d50fb96d526fc2155e/

The build failure is caused by the build system using -Werror; this is
already patched upstream, so this commit just imports the upstream
patch.

Signed-off-by: Noé Rubinstein <noe.rubinstein@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 22:06:00 +01:00
Samuel Martin
34f204dc63 package/tpm-tools: fix build with locale support
tpm-tools needs to link with libintl when locale support is enabled.

However, tpm-tools' build-system internally builds a couple of static libraries
used to build the final programs.
When linking these libraries or the final programs, we need to explicitly tell
the linker to link with libintl in order to resolve all the missing symbols.

Fixes:
  http://autobuild.buildroot.org/results/560/56020558ec298ac4007bf7f6ce030b3f2fa1157d/
  http://autobuild.buildroot.org/results/17f/17fc6ca79765fd9ecdacec4f5a2b58caa554d48d/
  http://autobuild.buildroot.org/results/2d2/2d2c655429df62da2b8746a564fc064609e96001/
  http://autobuild.buildroot.org/results/d52/d5259b83e7a269bca019d024366aa201f5a174fd/
  http://autobuild.buildroot.org/results/11c/11cb0d1e51459e75e5f376cb07ce0188f8f050c4/
  http://autobuild.buildroot.org/results/bad/bad9a97b4fff00732f2efb043bbb76a99963c491/
  http://autobuild.buildroot.org/results/2f8/2f8bd534e6fcd9d356fe9087cb1394b9b2c4192c/
  and many others...

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-30 14:57:04 +01:00
Noé Rubinstein
4ef0ef352c tpm-tools: new package
[Thomas:
 - move from Libraries/Crypto to System tools in menuconfig
 - add patch to fix build with uClibc
 - use 'select' for openssl rather than a 'depends on'
 - propagate trousers dependencies
 - add <pkg>_LICENSE and <pkg>_LICENSEFILES
 - link against libiconv when needed, fixing !locale builds
 - explicitly disable pkcs11 support, since it is not handled by
   tpm-tools.mk currently.]

Signed-off-by: Al West <al.west@v-nova.com>
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-24 09:16:37 +01:00