Commit Graph

5 Commits

Author SHA1 Message Date
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