package/openrc: add bash-completion support

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett 2023-10-17 13:08:08 +02:00 committed by Thomas Petazzoni
parent 3f986eaeb2
commit 4a2909ea48

View File

@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \
-Drootprefix=/ \
-Dbranding="\"Buildroot $(BR2_VERSION_FULL)\""
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
OPENRC_CONF_OPTS += -Dbash-completions=true
else
OPENRC_CONF_OPTS += -Dbash-completions=false
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
OPENRC_CONF_OPTS += -Dselinux=enabled
OPENRC_DEPENDENCIES += libselinux