From: Ting Liu <[email protected]>

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 <[email protected]>
---
 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

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

Reply via email to