[meta-freescale] [meta-fsl-arm][PATCH v3 3/6] linux-ls1: Add kernel recipes for Layerscape1 support

Zhenhua Luo zhenhua.luo at freescale.com
Wed Sep 3 01:42:59 PDT 2014


Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-kernel/linux/linux-ls1.inc     | 12 ++++++++++++
 recipes-kernel/linux/linux-ls1_3.12.bb | 19 +++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-ls1.inc
 create mode 100644 recipes-kernel/linux/linux-ls1_3.12.bb

diff --git a/recipes-kernel/linux/linux-ls1.inc b/recipes-kernel/linux/linux-ls1.inc
new file mode 100644
index 0000000..591a760
--- /dev/null
+++ b/recipes-kernel/linux/linux-ls1.inc
@@ -0,0 +1,12 @@
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+inherit kernel fsl-kernel-localversion
+LOCALVERSION ?= "+ls1"
+
+SRC_URI = "git://git.freescale.com/layerscape/ls1021a/linux.git;branch=${SRCBRANCH}"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
+
+S = "${WORKDIR}/git"
+
diff --git a/recipes-kernel/linux/linux-ls1_3.12.bb b/recipes-kernel/linux/linux-ls1_3.12.bb
new file mode 100644
index 0000000..c7eec37
--- /dev/null
+++ b/recipes-kernel/linux/linux-ls1_3.12.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Linux Kernel for Freescale layerscape platforms"
+DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
+Layerscape1 Family Boards. "
+
+require recipes-kernel/linux/linux-ls1.inc
+require recipes-kernel/linux/linux-dtb.inc
+
+SRCBRANCH = "ls1-dev"
+SRCREV = "de1cb4b3c16be38cf3981fd0afa143ad24283d07"
+
+# The ls1 defconfig is maintained in kernel source, copy it to 
+# ${WORKDIR}/defconfig
+do_configure_prepend () {
+    if [ ! -f ${WORKDIR}/defconfig ] && [ -f ${KERNEL_DEFCONFIG} ]; then
+        cp ${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig
+    fi
+}
+
+COMPATIBLE_MACHINE = "(ls102xa)"
-- 
1.9.3



More information about the meta-freescale mailing list