buildroot/package/rauc/Config.in
Titouan Christophe ccf67ebe3b package/rauc: select fw_printenv for uboot based systems
When operating on a uboot based system, rauc interacts with
the bootloader environment using fw_printenv and fw_setenv [1].

These commands should therefore be present on the target if
the system being built uses uboot.

[1] See:
https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L21-L22
https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L644-L645

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-05 21:38:01 +01:00

41 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_RAUC
bool "rauc"
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
depends on BR2_USE_WCHAR # glib2
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_SQUASHFS # run-time dependency
select BR2_PACKAGE_UBOOT_TOOLS if BR2_TARGET_UBOOT # run-time dependency
select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV if BR2_TARGET_UBOOT
help
RAUC is the Robust Auto-Update Controller developed by
Pengutronix. It supports updating embedded Linux
systems over the network or from disks and provides a
d-bus interface.
http://rauc.io/
if BR2_PACKAGE_RAUC
config BR2_PACKAGE_RAUC_NETWORK
bool "network support"
select BR2_PACKAGE_LIBCURL
help
This option enables support for updating firmware over
the network using libcurl.
config BR2_PACKAGE_RAUC_JSON
bool "JSON output support"
select BR2_PACKAGE_JSON_GLIB
help
This option enables support for providing output in
JSON format.
endif
comment "rauc needs a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU