]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-qoriq_4.9: ${KERNEL_PACKAGE_NAME} replaces original key "kernel"
authorChunrong Guo <chunrong.guo@nxp.com>
Fri, 5 Jan 2018 03:01:27 +0000 (11:01 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 25 Jan 2018 18:30:35 +0000 (16:30 -0200)
*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 <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-kernel/linux/linux-qoriq_4.9.bb

index 3e058c215c40b6271c1d4a8f26915e300b6a5dd3..84888e058ca01bb9dd041940c4e42e1e5842abc6 100644 (file)
@@ -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}"
@@ -60,5 +60,5 @@ do_install_append_qoriq-arm() {
     ln -sf zImage-${KERNEL_VERSION} ${D}/boot/zImage
 }
 
-FILES_kernel-image += "/boot/zImage*"
+FILES_${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*"
 COMPATIBLE_MACHINE = "(qoriq)"