linux-omap3-pandora: Add recipe for 2.6.37 from git.openpandora.org.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Sun, 27 Feb 2011 15:04:22 +0000 (15:04 +0000)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Mon, 4 Apr 2011 19:15:50 +0000 (20:15 +0100)
* Pulls from the pandora-37 branch.

* Unlike most OE kernel recipies this recipe pulls in the
  'omap3_pandora_defconfig' config and does not have a
  'defconfig' in the OE tree.

  The omap3-pandora uses OE for the stock firmware so the
  kernel config is already suitable and this will ensure all OE
  builds for the device have the same kernel config by default.

recipes/linux/linux-omap3-pandora_2.6.37.bb [new file with mode: 0644]

diff --git a/recipes/linux/linux-omap3-pandora_2.6.37.bb b/recipes/linux/linux-omap3-pandora_2.6.37.bb
new file mode 100644 (file)
index 0000000..32b5113
--- /dev/null
@@ -0,0 +1,26 @@
+require linux.inc
+
+DESCRIPTION = "Linux kernel for the OpenPandora handheld"
+KERNEL_IMAGETYPE = "uImage"
+
+COMPATIBLE_MACHINE = "omap3-pandora"
+
+# This is on the pandora-37 branch
+SRCREV = "6fcb7be7a34f3ffa9b80eae2b318747a6beff386"
+
+SRC_URI = " \
+           git://git.openpandora.org/pandora-kernel.git;protocol=git;branch=pandora-37 \
+"          
+
+PV = "2.6.37-pandora+${PR}+git${SRCREV}"
+
+S = "${WORKDIR}/git"
+
+# NOTE: We pull in the default config from the OP kernel GIT tree and keep that config in sync the needs of OE in-tree.
+# It does mean we do not ship the usual defconfig in the OE tree.
+
+KERNEL_DEFCONFIG = "omap3_pandora_defconfig"
+
+do_configure_prepend() {
+       install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
+}