Merge pull request #11784 from cotequeiroz/sane-backends

sane-backends: use "tristate" instead of "prompt"
This commit is contained in:
Luiz Angelo Daros de Luca 2020-04-09 15:10:28 -03:00 committed by GitHub
commit 36d0e2eaf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ define Package/sane-backends/config
config PACKAGE_sane-backends-all config PACKAGE_sane-backends-all
depends on PACKAGE_sane-backends depends on PACKAGE_sane-backends
prompt "Include all SANE backends (sane-backends-all)" tristate "Include all SANE backends (sane-backends-all)"
comment "Backends" comment "Backends"
@ -65,7 +65,7 @@ $(foreach backend,$(SANE_BACKENDS), \
$(call Package/sane-$(backend)) $(call Package/sane-$(backend))
)\ )\
config PACKAGE_sane-$(backend) config PACKAGE_sane-$(backend)
prompt "$(TITLE)" tristate "$(TITLE)"
$(foreach config_dep,\ $(foreach config_dep,\
$(filter @%, $(filter @%,
$(foreach v, $(DEPENDS), $(if $(findstring :,$v),,$v)) $(foreach v, $(DEPENDS), $(if $(findstring :,$v),,$v))