summaryrefslogtreecommitdiffstats
path: root/rules/rauc.in
diff options
context:
space:
mode:
authorGavin Schenk <g.schenk@eckelmann.de>2018-08-27 14:31:39 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-08-31 10:13:31 +0200
commitb2f299834138539453df4860070f8f28167b1db7 (patch)
treea37c82c5a07d2b048a0f7d7d276e148929ddd35a /rules/rauc.in
parentac443076eef8b54cb1094f37cc5b0cc4e5705253 (diff)
downloadptxdist-b2f299834138539453df4860070f8f28167b1db7.tar.gz
ptxdist-b2f299834138539453df4860070f8f28167b1db7.tar.xz
rauc: Make rauc bundle version configurable
In my usecase I need PTXCONF_PROJECT_VERSION in the rauc bundle instead of PTXDIST_BSP_AUTOVERSION that is hard coded in rules/image-rauc.make. Introduce a new switch RAUC_BUNDLE_VERSION to menuconfig that defaults to "${PTXDIST_BSP_AUTOVERSION}". Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/rauc.in')
-rw-r--r--rules/rauc.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/rauc.in b/rules/rauc.in
index ec8e76f00..b2fea4bf6 100644
--- a/rules/rauc.in
+++ b/rules/rauc.in
@@ -33,4 +33,11 @@ config RAUC_COMPATIBLE
Only if the compatible in the targets RAUC system.conf file and those
in the Bundle's manifest match exactly, an update will be performed
+config RAUC_BUNDLE_VERSION
+ prompt "RAUC Bundle Version"
+ string
+ default "${PTXDIST_BSP_AUTOVERSION}"
+ help
+ Overwrite the bundle version if needed.
+
endif