summaryrefslogtreecommitdiff
path: root/packages/linux/linux_2.6.27.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-11-27 20:55:09 +0100
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-11-27 20:55:09 +0100
commitb1ae267e2b6beb5e60ded3a23c20788c94054db1 (patch)
treeb7ba14fca7cf3eabffe17fd865a4e55b4c32c81d /packages/linux/linux_2.6.27.bb
parenta3957793fcacb87edf416c269f1e1deb23c1f829 (diff)
linux: added 2.6.27 as default for Progear
Progear also use one update for backlight and experimental driver for AC status.
Diffstat (limited to 'packages/linux/linux_2.6.27.bb')
-rw-r--r--packages/linux/linux_2.6.27.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/linux/linux_2.6.27.bb b/packages/linux/linux_2.6.27.bb
new file mode 100644
index 0000000000..e2efdb9c73
--- /dev/null
+++ b/packages/linux/linux_2.6.27.bb
@@ -0,0 +1,20 @@
+require linux.inc
+
+# Mark archs/machines that this kernel supports
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_progear = "1"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ file://defconfig "
+
+SRC_URI_append_progear = "file://progear-bl.patch;patch=1\
+ file://progear-ac2.patch;patch=1"
+
+# see http://bugzilla.kernel.org/show_bug.cgi?id=11143
+do_stage_append() {
+ if [ -f arch/${ARCH}/lib/crtsavres.o ]; then
+ mkdir -p ${STAGING_KERNEL_DIR}/arch/${ARCH}/lib
+ cp -a arch/${ARCH}/lib/crtsavres.o ${STAGING_KERNEL_DIR}/arch/${ARCH}/lib/
+ fi
+}
+