[Buildroot] [git commit branch/2018.11.x] package/fwts: add optional bash-completion dependency
Peter Korsgaard
peter at korsgaard.com
Thu Jan 24 16:20:25 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=63149e45eb90766e30ed9088642116f84a39d892
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.11.x
fwts uses the completionsdir variable from bash-completion.pc to decide
where to install things.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 7da56120a029cff7bba212fe74b4f59ae830ed70)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/fwts/fwts.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/fwts/fwts.mk b/package/fwts/fwts.mk
index aa006f3b8b..b29de2cf25 100644
--- a/package/fwts/fwts.mk
+++ b/package/fwts/fwts.mk
@@ -11,6 +11,7 @@ FWTS_LICENSE = GPL-2.0, LGPL-2.1, Custom
FWTS_LICENSE_FILES = debian/copyright
FWTS_AUTORECONF = YES
FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf json-c libglib2 libbsd \
+ $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \
$(if $(BR2_PACKAGE_DTC),dtc)
ifdef BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE
More information about the buildroot
mailing list