From 7da56120a029cff7bba212fe74b4f59ae830ed70 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 13 Jan 2019 18:58:21 +0100 Subject: [PATCH] package/fwts: add optional bash-completion dependency fwts uses the completionsdir variable from bash-completion.pc to decide where to install things. Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- 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