summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2021-03-26 22:29:09 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-03-30 11:48:44 +0200
commit4226664786bd6e9a539a15367162554d75ef817d (patch)
treee3059d15514810d6aa69082b5915abbee231fcaf
parent43545647b71ca6df9d0cb1b5ddec9f7cf8fa883a (diff)
downloadptxdist-4226664786bd6e9a539a15367162554d75ef817d.tar.gz
ptxdist-4226664786bd6e9a539a15367162554d75ef817d.tar.xz
dt-utils: version bump 2019.01.0 -> 2021.03.0
Signed-off-by: Roland Hieber <rhi@pengutronix.de> Message-Id: <20210326212909.3472-2-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/dt-utils.in20
-rw-r--r--rules/dt-utils.make8
2 files changed, 24 insertions, 4 deletions
diff --git a/rules/dt-utils.in b/rules/dt-utils.in
index 7ce0e579c..2ac7383f2 100644
--- a/rules/dt-utils.in
+++ b/rules/dt-utils.in
@@ -1,11 +1,27 @@
## SECTION=shell_and_console
-config DT_UTILS
+menuconfig DT_UTILS
tristate
- prompt "dt-utils"
+ prompt "dt-utils "
select UDEV
help
Utilities to work with device trees in Linux userspace:
* barebox-state: access barebox' state storage
* fdtdump: dump a device tree binary to stdout
+
+if DT_UTILS
+
+config DT_UTILS_STATE_COMPAT
+ bool "ensure state compatibility with older bareboxes"
+ help
+ Previous variants of the state variable set did not contain metadata.
+ The read function in the 'direct' storage backend honors this, but the
+ write function doesn't, which makes an update of the state variable
+ set impossible in this case.
+ When enabling this option, barebox-state will keep the storage in a
+ format that can be read by barebox <= v2016.08.0 when writing
+ variables into a 'direct' storage backend, or fail if this requirement
+ cannot be guaranteed.
+
+endif
diff --git a/rules/dt-utils.make b/rules/dt-utils.make
index ce86738bf..0c2fe87cd 100644
--- a/rules/dt-utils.make
+++ b/rules/dt-utils.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_DT_UTILS) += dt-utils
#
# Paths and names
#
-DT_UTILS_VERSION := 2019.01.0
-DT_UTILS_MD5 := d83ebf99b07fa4516aeaa329afb2a6eb
+DT_UTILS_VERSION := 2021.03.0
+DT_UTILS_MD5 := acf0b5e3b18e40e6172b67fbad2e52fb
DT_UTILS := dt-utils-$(DT_UTILS_VERSION)
DT_UTILS_SUFFIX := tar.xz
DT_UTILS_URL := https://public.pengutronix.de/software/dt-utils/$(DT_UTILS).$(DT_UTILS_SUFFIX)
@@ -31,6 +31,10 @@ DT_UTILS_LICENSE_FILES := \
# ----------------------------------------------------------------------------
DT_UTILS_CONF_TOOL := autoconf
+DT_UTILS_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ $(GLOBAL_LARGE_FILE_OPTION) \
+ --$(call ptx/endis, PTXCONF_DT_UTILS_STATE_COMPAT)-state-backward-compatibility
# ----------------------------------------------------------------------------
# Target-Install