Signed-off-by: Stefan Christ <[email protected]>
---
 meta/recipes-kernel/linux/linux-dtb.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-dtb.inc 
b/meta/recipes-kernel/linux/linux-dtb.inc
index 0095155..f44851a 100644
--- a/meta/recipes-kernel/linux/linux-dtb.inc
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -58,9 +58,9 @@ do_deploy_append() {
 
 pkg_postinst_kernel-devicetree () {
        cd /${KERNEL_IMAGEDEST}
-       for DTB_FILE in ${KERNEL_DEVICETREE}
+       for DTB in ${KERNEL_DEVICETREE}
        do
-               DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
+               DTB_BASE_NAME=`basename ${DTB} | awk -F "." '{print $1}'`
                DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed 
"s/${MACHINE}/${DTB_BASE_NAME}/g"`
                update-alternatives --install 
/${KERNEL_IMAGEDEST}/${DTB_BASE_NAME}.dtb ${DTB_BASE_NAME}.dtb 
devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
        done
@@ -68,9 +68,9 @@ pkg_postinst_kernel-devicetree () {
 
 pkg_postrm_kernel-devicetree () {
        cd /${KERNEL_IMAGEDEST}
-       for DTB_FILE in ${KERNEL_DEVICETREE}
+       for DTB in ${KERNEL_DEVICETREE}
        do
-               DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
+               DTB_BASE_NAME=`basename ${DTB} | awk -F "." '{print $1}'`
                DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed 
"s/${MACHINE}/${DTB_BASE_NAME}/g"`
                update-alternatives --remove ${DTB_BASE_NAME}.dtb 
devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
        done
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to