diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-03 23:19:57 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:35:41 +0200 |
commit | b3dd9a4b887fe7394dda7a09b49a6e2234d50b97 (patch) | |
tree | 36cfa1d0ed43b2643f1bba0e198ab83a44814282 | |
parent | 9835c1921c08f6eb7723d5df64371ac3446a7539 (diff) | |
download | buildroot-b3dd9a4b887fe7394dda7a09b49a6e2234d50b97.tar.gz buildroot-b3dd9a4b887fe7394dda7a09b49a6e2234d50b97.zip |
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>
-rw-r--r-- | package/tpm-tools/Config.in | 1 | ||||
-rw-r--r-- | package/tpm-tools/tpm-tools.mk | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/package/tpm-tools/Config.in b/package/tpm-tools/Config.in index 091f424a9a..e115687281 100644 --- a/package/tpm-tools/Config.in +++ b/package/tpm-tools/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_TPM_TOOLS depends on !BR2_arc # trousers select BR2_PACKAGE_TROUSERS select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help Tools to manage and diagnose a TPM diff --git a/package/tpm-tools/tpm-tools.mk b/package/tpm-tools/tpm-tools.mk index c90edbb88c..4dbf50a298 100644 --- a/package/tpm-tools/tpm-tools.mk +++ b/package/tpm-tools/tpm-tools.mk @@ -9,8 +9,7 @@ TPM_TOOLS_SITE = http://downloads.sourceforge.net/project/trousers/tpm-tools/$(T TPM_TOOLS_STRIP_COMPONENTS = 2 TPM_TOOLS_LICENSE = Common Public License Version 1.0 TPM_TOOLS_LICENSE_FILES = LICENSE -TPM_TOOLS_DEPENDENCIES = trousers openssl \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) +TPM_TOOLS_DEPENDENCIES = trousers openssl $(TARGET_NLS_DEPENDENCIES) # configure.in and lib/Makefile.am is patched TPM_TOOLS_AUTORECONF = YES TPM_TOOLS_GETTEXTIZE = YES |