package/systemd: add optional bash-completion dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 4 Feb 2019 19:13:28 +0000 (20:13 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 10 Feb 2019 13:07:32 +0000 (14:07 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/systemd/systemd.mk

index bbcc14901f7c7bed20b5031c8d5290d70744f28d..7a46a50ed34dd8a6a26f96fc5d619c3ab53fec84 100644 (file)
@@ -10,6 +10,7 @@ SYSTEMD_LICENSE = LGPL-2.1+, GPL-2.0+ (udev), Public Domain (few source files, s
 SYSTEMD_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1 README
 SYSTEMD_INSTALL_STAGING = YES
 SYSTEMD_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \
        host-gperf \
        host-intltool \
        kmod \