Commit fa794c51 authored by Florent Revest's avatar Florent Revest

abootimg/mkboot/mkbootimg classes: Use the newer KERNEL_IMAGE_NAME instead of...

abootimg/mkboot/mkbootimg classes: Use the newer KERNEL_IMAGE_NAME instead of KERNEL_IMAGE_BASE_NAME and KERNEL_IMAGE_LINK_NAME instead of KERNEL_IMAGE_SYMLINK_NAME on thud
parent 27912ad3
...@@ -20,8 +20,8 @@ do_deploy_append() { ...@@ -20,8 +20,8 @@ do_deploy_append() {
# We're probably interested only in zImage KERNEL_IMAGETYPE, but keep # We're probably interested only in zImage KERNEL_IMAGETYPE, but keep
# the for loop for consistency with other bbclasses # the for loop for consistency with other bbclasses
for type in ${KERNEL_IMAGETYPES} ; do for type in ${KERNEL_IMAGETYPES} ; do
base_name=${type}-${KERNEL_IMAGE_BASE_NAME} base_name=${type}-${KERNEL_IMAGE_NAME}
symlink_name=${type}-${KERNEL_IMAGE_SYMLINK_NAME} symlink_name=${type}-${KERNEL_IMAGE_LINK_NAME}
cp ${B}/boot.img ${DEPLOYDIR}/${base_name}.fastboot cp ${B}/boot.img ${DEPLOYDIR}/${base_name}.fastboot
ln -sf ${base_name}.fastboot ${DEPLOYDIR}/${symlink_name}.fastboot ln -sf ${base_name}.fastboot ${DEPLOYDIR}/${symlink_name}.fastboot
done done
......
...@@ -21,8 +21,8 @@ do_deploy_append() { ...@@ -21,8 +21,8 @@ do_deploy_append() {
# We're probably interested only in zImage KERNEL_IMAGETYPE, but keep # We're probably interested only in zImage KERNEL_IMAGETYPE, but keep
# the for loop for consistency with other bbclasses # the for loop for consistency with other bbclasses
for type in ${KERNEL_IMAGETYPES} ; do for type in ${KERNEL_IMAGETYPES} ; do
base_name=${type}-${KERNEL_IMAGE_BASE_NAME} base_name=${type}-${KERNEL_IMAGE_NAME}
symlink_name=${type}-${KERNEL_IMAGE_SYMLINK_NAME} symlink_name=${type}-${KERNEL_IMAGE_LINK_NAME}
cp ${B}/boot.img ${DEPLOYDIR}/${base_name}.fastboot cp ${B}/boot.img ${DEPLOYDIR}/${base_name}.fastboot
ln -sf ${base_name}.fastboot ${DEPLOYDIR}/${symlink_name}.fastboot ln -sf ${base_name}.fastboot ${DEPLOYDIR}/${symlink_name}.fastboot
done done
......
...@@ -19,8 +19,8 @@ do_deploy_append() { ...@@ -19,8 +19,8 @@ do_deploy_append() {
# We're probably interested only in zImage KERNEL_IMAGETYPE, but keep # We're probably interested only in zImage KERNEL_IMAGETYPE, but keep
# the for loop for consistency with other bbclasses # the for loop for consistency with other bbclasses
for type in ${KERNEL_IMAGETYPES} ; do for type in ${KERNEL_IMAGETYPES} ; do
base_name=${type}-${KERNEL_IMAGE_BASE_NAME} base_name=${type}-${KERNEL_IMAGE_NAME}
symlink_name=${type}-${KERNEL_IMAGE_SYMLINK_NAME} symlink_name=${type}-${KERNEL_IMAGE_LINK_NAME}
cp ${B}/boot.img ${DEPLOYDIR}/${base_name}.fastboot cp ${B}/boot.img ${DEPLOYDIR}/${base_name}.fastboot
ln -sf ${base_name}.fastboot ${DEPLOYDIR}/${symlink_name}.fastboot ln -sf ${base_name}.fastboot ${DEPLOYDIR}/${symlink_name}.fastboot
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment