aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-04-03 21:41:51 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 16:03:55 -0700
commit05729aebcf6efc5ec7ac3a9448e66bf29151575c (patch)
tree179c611065304a1f023fb61f35e5b976039e7f9b /meta-xilinx-bsp
parentae8770ac3b74a2805d6bd5b1a30418631e401f9e (diff)
downloadmeta-xilinx-05729aebcf6efc5ec7ac3a9448e66bf29151575c.tar.gz
meta-xilinx-05729aebcf6efc5ec7ac3a9448e66bf29151575c.tar.bz2
meta-xilinx-05729aebcf6efc5ec7ac3a9448e66bf29151575c.zip
kernel-simpleimage.bbclass: Deploy simpleImage strip
Deploy simpleImage strip file generated during kernel build of simpleImage elf. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/classes/kernel-simpleimage.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
index 6f3a9df..348d0a7 100644
--- a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
+++ b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
@@ -25,8 +25,10 @@ do_deploy_append () {
for type in ${KERNEL_IMAGETYPES} ; do
if [[ "${type}" =~ "simpleImage" ]] && [ ${ARCH} = "microblaze" ]; then
base_name=${imageType}-${KERNEL_IMAGE_NAME}
+ install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.strip $deployDir/${base_name}.strip
install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.unstrip $deployDir/${base_name}.unstrip
symlink_name=${imageType}-${KERNEL_IMAGE_LINK_NAME}
+ ln -sf ${base_name}.strip $deployDir/${symlink_name}.strip
ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip
fi
done