[meta-freescale] [meta-fsl-arm][PATCH v3 02/13] linux-ls1: package zImage into kernel-images
b28495 at freescale.com
b28495 at freescale.com
Tue Jul 7 01:16:40 PDT 2015
From: Ting Liu <ting.liu at freescale.com>
Two kernel images are used on ls1:
1. uImage is used to bootup the board
2. zImage is used in virtualization test on board
Signed-off-by: Ting Liu <ting.liu at freescale.com>
---
recipes-kernel/linux/linux-ls1.inc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/recipes-kernel/linux/linux-ls1.inc b/recipes-kernel/linux/linux-ls1.inc
index cd8398e..2506161 100644
--- a/recipes-kernel/linux/linux-ls1.inc
+++ b/recipes-kernel/linux/linux-ls1.inc
@@ -11,3 +11,13 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=${SRCBRANCH} \
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
S = "${WORKDIR}/git"
+
+do_install_append() {
+ install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/
+}
+
+do_deploy_append() {
+ install -m 0644 arch/${ARCH}/boot/zImage ${DEPLOYDIR}/
+}
+
+FILES_kernel-image += "/boot/zImage"
--
1.9.1
More information about the meta-freescale
mailing list