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:
parent
3a6c130754
commit
9e59c4ab38
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user