summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2020-09-16 14:54:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-17 09:47:45 +0100
commita00ca02fbd20af5dcbc9ba6aff65645780195ebf (patch)
tree067401e11e9d8ad674ff057f2d0619a2d9adc292 /meta/classes/kernel.bbclass
parentd1f5f2391e868df98c05fd1ee965687c01428435 (diff)
downloadpoky-a00ca02fbd20af5dcbc9ba6aff65645780195ebf.tar.gz
kernel.bbclass: use camelCase notation for bash variables in do_deploy
* to match other variables there like deployDir imageType [YOCTO #12937] (From OE-Core rev: 13c5d1b686255d385d200cbd06b7000080809fc7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index fbd2959341..48135b3d41 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -716,10 +716,10 @@ kernel_do_deploy() {
716 fi 716 fi
717 717
718 for imageType in ${KERNEL_IMAGETYPES} ; do 718 for imageType in ${KERNEL_IMAGETYPES} ; do
719 base_name=$imageType-${KERNEL_IMAGE_NAME} 719 baseName=$imageType-${KERNEL_IMAGE_NAME}
720 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$base_name.bin 720 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$baseName.bin
721 ln -sf $base_name.bin $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}.bin 721 ln -sf $baseName.bin $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}.bin
722 ln -sf $base_name.bin $deployDir/$imageType 722 ln -sf $baseName.bin $deployDir/$imageType
723 done 723 done
724 724
725 if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 725 if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
@@ -740,9 +740,9 @@ kernel_do_deploy() {
740 if [ "$imageType" = "fitImage" ] ; then 740 if [ "$imageType" = "fitImage" ] ; then
741 continue 741 continue
742 fi 742 fi
743 initramfs_base_name=$imageType-${INITRAMFS_NAME} 743 initramfsBaseName=$imageType-${INITRAMFS_NAME}
744 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.initramfs $deployDir/$initramfs_base_name.bin 744 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.initramfs $deployDir/$initramfsBaseName.bin
745 ln -sf $initramfs_base_name.bin $deployDir/$imageType-${INITRAMFS_LINK_NAME}.bin 745 ln -sf $initramfsBaseName.bin $deployDir/$imageType-${INITRAMFS_LINK_NAME}.bin
746 done 746 done
747 fi 747 fi
748} 748}