[meta-freescale] [PATCH 1/2] linux-qoriq_4.9: ${KERNEL_PACKAGE_NAME} replaces original key "kernel"
C.r. Guo
chunrong.guo at nxp.com
Mon Jan 15 18:33:28 PST 2018
Pings.
-----Original Message-----
From: Chunrong Guo [mailto:B40290 at freescale.com]
Sent: 2018年1月5日 11:01
To: meta-freescale at yoctoproject.org
Cc: Zhenhua Luo <zhenhua.luo at nxp.com>; C.r. Guo <chunrong.guo at nxp.com>
Subject: [PATCH 1/2] linux-qoriq_4.9: ${KERNEL_PACKAGE_NAME} replaces original key "kernel"
From: Chunrong Guo <chunrong.guo at nxp.com>
*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 at nxp.com>
---
recipes-kernel/linux/linux-qoriq_4.9.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-kernel/linux/linux-qoriq_4.9.bb b/recipes-kernel/linux/linux-qoriq_4.9.bb
index 52bef92..f1fbb60 100644
--- a/recipes-kernel/linux/linux-qoriq_4.9.bb
+++ b/recipes-kernel/linux/linux-qoriq_4.9.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}"
@@ -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)"
--
1.9.0
More information about the meta-freescale
mailing list