mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d1f5f2391e
commit
a00ca02fbd
@@ -716,10 +716,10 @@ kernel_do_deploy() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for imageType in ${KERNEL_IMAGETYPES} ; do
|
for imageType in ${KERNEL_IMAGETYPES} ; do
|
||||||
base_name=$imageType-${KERNEL_IMAGE_NAME}
|
baseName=$imageType-${KERNEL_IMAGE_NAME}
|
||||||
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$base_name.bin
|
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$baseName.bin
|
||||||
ln -sf $base_name.bin $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}.bin
|
ln -sf $baseName.bin $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}.bin
|
||||||
ln -sf $base_name.bin $deployDir/$imageType
|
ln -sf $baseName.bin $deployDir/$imageType
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
|
if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
|
||||||
@@ -740,9 +740,9 @@ kernel_do_deploy() {
|
|||||||
if [ "$imageType" = "fitImage" ] ; then
|
if [ "$imageType" = "fitImage" ] ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
initramfs_base_name=$imageType-${INITRAMFS_NAME}
|
initramfsBaseName=$imageType-${INITRAMFS_NAME}
|
||||||
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.initramfs $deployDir/$initramfs_base_name.bin
|
install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.initramfs $deployDir/$initramfsBaseName.bin
|
||||||
ln -sf $initramfs_base_name.bin $deployDir/$imageType-${INITRAMFS_LINK_NAME}.bin
|
ln -sf $initramfsBaseName.bin $deployDir/$imageType-${INITRAMFS_LINK_NAME}.bin
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user