[Buildroot] [git commit] package/fwts: add optional bash-completion dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Jan 13 20:55:12 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=7da56120a029cff7bba212fe74b4f59ae830ed70
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
---
 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