aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Titouan Christophe <titouan.christophe@railnova.eu>2019-12-05 10:42:38 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-12-05 21:38:01 +0100
commitccf67ebe3b93bf659e64e4e933f2e0bac148a141 (patch)
treed6eb1f03c2d1d74e72c36a5d0beda29b063d547b
parentdec2e0449d50d71219b4d94bc5547cce50a85163 (diff)
downloadbuildroot-ccf67ebe3b93bf659e64e4e933f2e0bac148a141.tar.gz
buildroot-ccf67ebe3b93bf659e64e4e933f2e0bac148a141.tar.bz2
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>
-rw-r--r--package/rauc/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/rauc/Config.in b/package/rauc/Config.in
index 4a1516a595..676ff42b51 100644
--- a/package/rauc/Config.in
+++ b/package/rauc/Config.in
@@ -7,6 +7,8 @@ config BR2_PACKAGE_RAUC
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