From: Chunrong Guo <[email protected]>

*update RDEPENDS to match kernel naming

The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.

*FILES_${KERNEL_PACKAGE_NAME}-image () replaces original key FILES_kernel-image

Signed-off-by: Chunrong Guo <[email protected]>
---
 recipes-kernel/linux/linux-qoriq_4.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-qoriq_4.4.bb 
b/recipes-kernel/linux/linux-qoriq_4.4.bb
index 54413e7..6ce9141 100644
--- a/recipes-kernel/linux/linux-qoriq_4.4.bb
+++ b/recipes-kernel/linux/linux-qoriq_4.4.bb
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 DEPENDS_append = " libgcc"
 # not put Images into /boot of rootfs, install kernel-image if needed
-RDEPENDS_kernel-base = ""
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
 
 KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
 KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
@@ -59,5 +59,5 @@ do_install_prepend_fsl-lsch2-32b() {
     rm -f ${STAGING_KERNEL_DIR}/arch/arm/boot/dts/freescale
 }
 
-FILES_kernel-image += "/boot/zImage*"
+FILES_${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*"
 COMPATIBLE_MACHINE = "(qoriq)"
-- 
1.9.0

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to