mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package: install bash-completion files only with bash
package/systemd, package/kmod, package/util-linux: don't install bash-completion files if bash is not selected to be installed. Otherwise, install bash-completion files. package/systemd: don't install zsh-completion files is zsh is not selected to be installed. Otherwise, install zsh-completion files. package/util-linux: don't install empty /usr/share/bash-completion/completions directory if bash is not going to be installed, and install bash-completion files if bash is selected to be installed. Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
afac57162f
commit
10e6284b70
@@ -64,6 +64,10 @@ else
|
||||
KMOD_CONF_OPTS += --disable-tools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BASH),)
|
||||
KMOD_CONF_OPTS += --with-bashcompletiondir=
|
||||
endif
|
||||
|
||||
# We only install depmod, since that's the only tool used for the
|
||||
# host.
|
||||
define HOST_KMOD_INSTALL_TOOLS
|
||||
|
||||
Reference in New Issue
Block a user