diff options
Diffstat (limited to 'recipes-kernel/linux/linux-ls1.inc')
-rw-r--r-- | recipes-kernel/linux/linux-ls1.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ls1.inc b/recipes-kernel/linux/linux-ls1.inc new file mode 100644 index 00000000..08d88f40 --- /dev/null +++ b/recipes-kernel/linux/linux-ls1.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | LICENSE = "GPLv2" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
3 | |||
4 | inherit kernel fsl-kernel-localversion | ||
5 | LOCALVERSION ?= "+ls1" | ||
6 | |||
7 | SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=${SRCBRANCH} \ | ||
8 | file://defconfig \ | ||
9 | " | ||
10 | |||
11 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
12 | ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | do_install_append() { | ||
17 | install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/zImage-${KERNEL_VERSION} | ||
18 | } | ||
19 | |||
20 | do_deploy_append() { | ||
21 | install -m 0644 arch/${ARCH}/boot/zImage ${DEPLOYDIR}/${ZIMAGE_BASE_NAME}.bin | ||
22 | ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage-${MACHINE}.bin | ||
23 | ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage | ||
24 | } | ||
25 | |||
26 | FILES_kernel-image += "/boot/zImage*" | ||