From: Fabrice Fontaine Date: Sun, 13 Jan 2019 17:58:21 +0000 (+0100) Subject: package/fwts: add optional bash-completion dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7da56120a029cff7bba212fe74b4f59ae830ed70;p=buildroot.git 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 --- 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