diff options
Diffstat (limited to 'meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb')
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb index dafaab25..53355f28 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb | |||
| @@ -94,7 +94,7 @@ DEVICETREE_OVERLAY_LOAD_ADDRESS:zynqmp = "${@hex(int(d.getVar("DEVICETREE_LOAD_A | |||
| 94 | 94 | ||
| 95 | python do_compile() { | 95 | python do_compile() { |
| 96 | env = uenv_populate(d) | 96 | env = uenv_populate(d) |
| 97 | with open(d.expand("${WORKDIR}/uEnv.txt"), "w") as f: | 97 | with open(d.expand("uEnv.txt"), "w") as f: |
| 98 | for k, v in env.items(): | 98 | for k, v in env.items(): |
| 99 | f.write("{0}={1}\n".format(k, v)) | 99 | f.write("{0}={1}\n".format(k, v)) |
| 100 | } | 100 | } |
| @@ -102,11 +102,11 @@ python do_compile() { | |||
| 102 | FILES:${PN} += "/boot/uEnv.txt" | 102 | FILES:${PN} += "/boot/uEnv.txt" |
| 103 | 103 | ||
| 104 | do_install() { | 104 | do_install() { |
| 105 | install -Dm 0644 ${WORKDIR}/uEnv.txt ${D}/boot/uEnv.txt | 105 | install -Dm 0644 uEnv.txt ${D}/boot/uEnv.txt |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | do_deploy() { | 108 | do_deploy() { |
| 109 | install -Dm 0644 ${WORKDIR}/uEnv.txt ${DEPLOYDIR}/uEnv.txt | 109 | install -Dm 0644 uEnv.txt ${DEPLOYDIR}/uEnv.txt |
| 110 | } | 110 | } |
| 111 | addtask do_deploy after do_compile before do_build | 111 | addtask do_deploy after do_compile before do_build |
| 112 | 112 | ||
