From db1fa470e1af84145ae22411cc35b7a7cccbe965 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 2 Sep 2020 05:11:10 +0300 Subject: Support overriding the image file name Add support for overriding the image file name, using the same mechanism as for DTB files. The 'image' parameter can specify both the image make target and image destination file name, separated by a ':'. If no ':' is found, the image make target is used as the image destination file name. Signed-off-by: Laurent Pinchart --- images/CrOS.sh | 2 +- images/FIT.sh | 2 +- images/srec.sh | 2 +- images/uImage.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'images') diff --git a/images/CrOS.sh b/images/CrOS.sh index b79e9a4..2f607ef 100644 --- a/images/CrOS.sh +++ b/images/CrOS.sh @@ -45,4 +45,4 @@ make_CrOS_image() { --bootloader $bootloader } -image_file=$output_dir/arch/$arch/boot/vmlinuz.image +_image_file=vmlinuz.image diff --git a/images/FIT.sh b/images/FIT.sh index f42ff2b..e297501 100644 --- a/images/FIT.sh +++ b/images/FIT.sh @@ -90,4 +90,4 @@ EOF PATH="$output_dir/scripts/dtc:$PATH" mkimage -f $kernel_its ${kernel_its/its/itb} } -image_file=$output_dir/arch/$arch/boot/kernel_fdt.itb +_image_file=kernel_fdt.itb diff --git a/images/srec.sh b/images/srec.sh index e0528d3..282567c 100644 --- a/images/srec.sh +++ b/images/srec.sh @@ -15,4 +15,4 @@ make_srec_image() { done } -image_file=$output_dir/arch/$arch/boot/$image_kernel.xz.srec +_image_file=$image_kernel.xz.srec diff --git a/images/uImage.sh b/images/uImage.sh index 45cb581..ca0ec4e 100644 --- a/images/uImage.sh +++ b/images/uImage.sh @@ -6,4 +6,4 @@ make_uImage_image() { $output_dir/arch/$arch/boot/uImage } -image_file=$output_dir/arch/$arch/boot/uImage +_image_file=uImage -- cgit v1.2.3