package/rauc: add option to enable/disable streaming support

RAUC 1.7 introduces streaming update support. Make this configurable
and add required dependency to libnl.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Heiko Thiery 2022-06-04 13:55:00 +02:00 committed by Thomas Petazzoni
parent 3a6c130754
commit 9e59c4ab38
2 changed files with 17 additions and 0 deletions

View File

@ -40,6 +40,16 @@ config BR2_PACKAGE_RAUC_NETWORK
This option enables support for updating firmware over
the network using libcurl.
if BR2_PACKAGE_RAUC_NETWORK
config BR2_PACKAGE_RAUC_STREAMING
bool "streaming update support"
select BR2_PACKAGE_LIBNL
help
This option enables support for streaming update mode.
endif
config BR2_PACKAGE_RAUC_JSON
bool "JSON output support"
select BR2_PACKAGE_JSON_GLIB

View File

@ -52,6 +52,13 @@ else
RAUC_CONF_OPTS += --disable-json
endif
ifeq ($(BR2_PACKAGE_RAUC_STREAMING),y)
RAUC_CONF_OPTS += --enable-streaming
RAUC_DEPENDENCIES += libnl
else
RAUC_CONF_OPTS += --disable-streaming
endif
HOST_RAUC_DEPENDENCIES = \
host-pkgconf \
host-openssl \