Skip to contentSkip to conversation

fwts: add optional bash-completion dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 13, 2019 – Jan 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fwts: add optional bash-completion dependency

fwts uses the completionsdir variable from bash-completion.pc to decide where to install things.

---
 package/fwts/fwts.mk | 1 +
 1 file changed, 1 insertion(+)
package/fwts/fwts.mk +1 -0
index aa006f3b8b..b29de2cf25 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 fwts: add optional bash-completion dependency

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

fwts uses the completionsdir variable from bash-completion.pc to decide where to install things.

Committed to 2018.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard