package/sconeserver: add sqlite optional dependency

sqlite is an optional dependency which is enabled by default since
4120395991

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-07-27 11:43:51 +02:00 committed by Thomas Petazzoni
parent 49b8fad29c
commit 117b15866a
2 changed files with 13 additions and 0 deletions

View File

@ -76,6 +76,12 @@ config BR2_PACKAGE_SCONESERVER_RSS
help
RSS module for Sconeserver
config BR2_PACKAGE_SCONESERVER_SQLITE
bool "sqlite"
select BR2_PACKAGE_SQLITE
help
SQLite module for Sconeserver
config BR2_PACKAGE_SCONESERVER_TESTBUILDER
bool "testbuilder"
help

View File

@ -91,6 +91,13 @@ else
SCONESERVER_CONF_OPTS += --without-rss
endif
ifeq ($(BR2_PACKAGE_SCONESERVER_SQLITE),y)
SCONESERVER_DEPENDENCIES += sqlite
SCONESERVER_CONF_OPTS += --with-sqlite
else
SCONESERVER_CONF_OPTS += --without-sqlite
endif
ifeq ($(BR2_PACKAGE_SCONESERVER_TESTBUILDER),y)
SCONESERVER_CONF_OPTS += --with-testbuilder
else