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
@@ -21,3 +21,13 @@ do_prep_simpleimage () {
done
}
+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}.unstrip $deployDir/${base_name}.unstrip
+ symlink_name=${imageType}-${KERNEL_IMAGE_LINK_NAME}
+ ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip
+ fi
+ done
+}
