diff options
author | Ashwini Lomate <ashwini.lomate@xilinx.com> | 2021-07-28 21:30:31 +0530 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-28 08:16:51 -0700 |
commit | e2c74279e40aadf590cb472194f4a12e93eb68e7 (patch) | |
tree | b5dae6f904adbbeaf04f38deed1632ce4da66f02 /meta-xilinx-bsp | |
parent | e4e400c401126449b4c2a04cf0edb1eee4065226 (diff) | |
download | meta-xilinx-e2c74279e40aadf590cb472194f4a12e93eb68e7.tar.gz |
kernel-simpleimage.bbclass: Use proper variable to get the kernel image.
This patch will use proper variable to get kernel image
Signed-off-by: Ashwini Lomate <ashwini.lomate@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r-- | meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass index 6da28f36..0d996273 100644 --- a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass +++ b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | |||
@@ -24,10 +24,10 @@ do_prep_simpleimage () { | |||
24 | do_deploy_append () { | 24 | do_deploy_append () { |
25 | for type in ${KERNEL_IMAGETYPES} ; do | 25 | for type in ${KERNEL_IMAGETYPES} ; do |
26 | if [ -z "${type##*simpleImage*}" ] && [ ${ARCH} = "microblaze" ]; then | 26 | if [ -z "${type##*simpleImage*}" ] && [ ${ARCH} = "microblaze" ]; then |
27 | base_name=${imageType}-${KERNEL_IMAGE_NAME} | 27 | base_name=${type}-${KERNEL_IMAGE_NAME} |
28 | install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.strip $deployDir/${base_name}.strip | 28 | install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.strip $deployDir/${base_name}.strip |
29 | install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.unstrip $deployDir/${base_name}.unstrip | 29 | install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.unstrip $deployDir/${base_name}.unstrip |
30 | symlink_name=${imageType}-${KERNEL_IMAGE_LINK_NAME} | 30 | symlink_name=${type}-${KERNEL_IMAGE_LINK_NAME} |
31 | ln -sf ${base_name}.strip $deployDir/${symlink_name}.strip | 31 | ln -sf ${base_name}.strip $deployDir/${symlink_name}.strip |
32 | ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip | 32 | ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip |
33 | fi | 33 | fi |