diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-22 05:02:11 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-22 05:02:11 +0300 |
commit | 68d4f7f29e1159b96cfdaef110d1b241712afcf4 (patch) | |
tree | ee9a43c04ed6aa5e54d878cbeb64853a3c439e44 | |
parent | 87b3afe8967014e85d9f8af0c49137287dba4116 (diff) |
Fix uImage and srec
The kernel image file that the uImage and srec images are built from is
stored in $image_kernel, not $kernel_image. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | images/srec.sh | 2 | ||||
-rw-r--r-- | images/uImage.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/images/srec.sh b/images/srec.sh index a9e9b0c..e0528d3 100644 --- a/images/srec.sh +++ b/images/srec.sh @@ -15,4 +15,4 @@ make_srec_image() { done } -image_file=$output_dir/arch/$arch/boot/$kernel_image.xz.srec +image_file=$output_dir/arch/$arch/boot/$image_kernel.xz.srec diff --git a/images/uImage.sh b/images/uImage.sh index 716900e..45cb581 100644 --- a/images/uImage.sh +++ b/images/uImage.sh @@ -2,7 +2,7 @@ make_uImage_image() { mkimage -A $arch -O linux -T kernel -C none -a $loadaddr -e $loadaddr \ - -n "Linux-${version}" -d $output_dir/arch/$arch/boot/$kernel_image \ + -n "Linux-${version}" -d $output_dir/arch/$arch/boot/$image_kernel \ $output_dir/arch/$arch/boot/uImage } |