diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-03-19 18:23:22 -0700 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-06-28 16:01:51 -0700 |
commit | ae8770ac3b74a2805d6bd5b1a30418631e401f9e (patch) | |
tree | 620e530cecc420230d3ad4efb103c07fe00f7530 | |
parent | b98dbb994033099140eeba56f9b8355b4b7ec901 (diff) | |
download | meta-xilinx-ae8770ac3b74a2805d6bd5b1a30418631e401f9e.tar.gz |
kernel-simpleimage.bbclass: Deploy simpleImage unstrip file
While using JTAG flow to boot MB machines, you need an elf file.
Deploy simpleImage unstrip file which can be used for JTAG flow
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass index 925336d4..6f3a9df0 100644 --- a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass +++ b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | |||
@@ -21,3 +21,13 @@ do_prep_simpleimage () { | |||
21 | done | 21 | done |
22 | } | 22 | } |
23 | 23 | ||
24 | do_deploy_append () { | ||
25 | for type in ${KERNEL_IMAGETYPES} ; do | ||
26 | if [[ "${type}" =~ "simpleImage" ]] && [ ${ARCH} = "microblaze" ]; then | ||
27 | base_name=${imageType}-${KERNEL_IMAGE_NAME} | ||
28 | install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.unstrip $deployDir/${base_name}.unstrip | ||
29 | symlink_name=${imageType}-${KERNEL_IMAGE_LINK_NAME} | ||
30 | ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip | ||
31 | fi | ||
32 | done | ||
33 | } | ||