summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/libubootenv_%.bbappend
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2020-08-05 19:15:34 +0200
committerMing Liu <ming.liu@toradex.com>2020-08-09 10:06:53 +0200
commit43e1bb53dd46cae7eaf5c253a343da5a1bebfca9 (patch)
tree06657fec3af502750528fcb7f2b8b8658c5087d7 /recipes-bsp/u-boot/libubootenv_%.bbappend
parentcdcf6c6c538f4458e798530762d9d1b0db510f7a (diff)
libubootenv: fix several issues
- We dont want to store to device when fw_setenv is called and there is no value change, to avoid flash wear-out. - We are using symbolic links in /etc/fw_env.config, libubootenv should handle that. - u-boot-default-env is being referred by libubootenv, add it to RRECOMMENDS_${PN}-bin tor target build. Related-to: ELB-2552 Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/libubootenv_%.bbappend')
-rw-r--r--recipes-bsp/u-boot/libubootenv_%.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/libubootenv_%.bbappend b/recipes-bsp/u-boot/libubootenv_%.bbappend
new file mode 100644
index 0000000..1237040
--- /dev/null
+++ b/recipes-bsp/u-boot/libubootenv_%.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+
+SRC_URI_append = " \
+ file://0001-Dont-store-to-device-if-no-value-changes.patch \
+ file://0001-uboot_env-Use-canonicalized-pathname-when-reading-de.patch \
+"
+
+RRECOMMENDS_${PN}-bin_class-target += "u-boot-default-env"