From: David-John Willis Date: Sun, 27 Feb 2011 15:04:22 +0000 (+0000) Subject: linux-omap3-pandora: Add recipe for 2.6.37 from git.openpandora.org. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71bebf8bbb6b84ab2675b825d17bf0ffb71610f4;p=openembedded.git linux-omap3-pandora: Add recipe for 2.6.37 from git.openpandora.org. * 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. --- 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 index 0000000000..32b5113a51 --- /dev/null +++ b/recipes/linux/linux-omap3-pandora_2.6.37.bb @@ -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." +}