diff options
| author | Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | 2019-12-11 23:05:28 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-02-27 08:33:25 -0800 |
| commit | 03b6b8b11aaee199670bec1bf25a270c922e15ec (patch) | |
| tree | 57285fc99e455870c412434c2710178d9ebb1fb1 /meta-xilinx-standalone/recipes-applications | |
| parent | 3bac0349fdf8212bb3e3867aa32478d81e69dba6 (diff) | |
| download | meta-xilinx-03b6b8b11aaee199670bec1bf25a270c922e15ec.tar.gz | |
meta-xilinx-standalone: clean up layer
This layer has been used as testing for the decoupling effort
hence there was (and still is) code that needed to be cleaned up
in general.
Put #TODO on things that are still left to do, either clean up
code, move machine confs to the bsp layer or remove the
deprecated pmu-firmware recipe and handle dependencies correctly
by bitbake'
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-applications')
| -rw-r--r-- | meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb | 6 | ||||
| -rw-r--r-- | meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb b/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb index 3cea8682..17dbadbd 100644 --- a/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb +++ b/meta-xilinx-standalone/recipes-applications/pmufw/pmufw_git.bb | |||
| @@ -15,11 +15,7 @@ PMU_FIRMWARE_BASE_NAME[vardepsexclude] = "DATETIME" | |||
| 15 | 15 | ||
| 16 | do_deploy() { | 16 | do_deploy() { |
| 17 | 17 | ||
| 18 | # Not a huge fan of deploying from package but we want the stripped elf to be deployed. | 18 | # We need to deploy the stripped elf, hence why not doing it from ${D} |
| 19 | # We could, technically create another task that runs after do_install that strips it but it | ||
| 20 | # seems unnecessarily convoluted, unless there's an objection on performing do_install we | ||
| 21 | # should do it this way since it easier to keep up with changes in oe-core. | ||
| 22 | |||
| 23 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/pmufw.elf ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.elf | 19 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/pmufw.elf ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.elf |
| 24 | ln -sf ${PMU_FIRMWARE_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | 20 | ln -sf ${PMU_FIRMWARE_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf |
| 25 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/pmufw.elf ${WORKDIR}/package/${base_libdir}/firmware/pmufw.bin | 21 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/pmufw.elf ${WORKDIR}/package/${base_libdir}/firmware/pmufw.bin |
diff --git a/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb b/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb index 5aae9024..93913c1f 100644 --- a/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb +++ b/meta-xilinx-standalone/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb | |||
| @@ -22,11 +22,7 @@ ZYNQMP_FSBL_BASE_NAME[vardepsexclude] = "DATETIME" | |||
| 22 | 22 | ||
| 23 | do_deploy() { | 23 | do_deploy() { |
| 24 | 24 | ||
| 25 | # Not a huge fan of deploying from package but we want the stripped elf to be deployed. | 25 | # We need to deploy the stripped elf, hence why not doing it from ${D} |
| 26 | # We could, technically create another task that runs after do_install that strips it but it | ||
| 27 | # seems unnecessarily convoluted, unless there's an objection on performing do_install we | ||
| 28 | # should do it this way since it easier to keep up with changes in oe-core. | ||
| 29 | |||
| 30 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/zynqmp_fsbl.elf ${DEPLOYDIR}/${ZYNQMP_FSBL_BASE_NAME}.elf | 26 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/zynqmp_fsbl.elf ${DEPLOYDIR}/${ZYNQMP_FSBL_BASE_NAME}.elf |
| 31 | ln -sf ${ZYNQMP_FSBL_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | 27 | ln -sf ${ZYNQMP_FSBL_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf |
| 32 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/zynqmp_fsbl.elf ${WORKDIR}/package/${base_libdir}/firmware/zynqmp_fsbl.bin | 28 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/zynqmp_fsbl.elf ${WORKDIR}/package/${base_libdir}/firmware/zynqmp_fsbl.bin |
