From: Alejandro Enedino Hernandez Samaniego <[email protected]>

Images include a uEnv.txt file that is read from U-Boot,
these parameters are read after the default environment
is loaded on U-Boot and just before booting the OS.

Changing anything from the environment through the build
system created a new uEnv file, but this didnt cause the
build system to create a new image (that included the
new file), so changes did not reflect on the image until
a new build was executed.

This patch creates a dependency to u-boot-zynq-uenv:do_deploy
which will cause the image to be recreated when something
from uEnv has changed.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
Signed-off-by: Manjukumar Matha <[email protected]>
---
 meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf 
b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
index 834d9d3..3f93e8e 100644
--- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
+++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
@@ -82,3 +82,4 @@ QB_PMU_OPT = " \
                "
 QB_OPT_APPEND_append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'"
 
+do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy"
-- 
2.7.4

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to