summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-10-13 18:16:29 +0000
committerKoen Kooi <koen@openembedded.org>2007-10-13 18:16:29 +0000
commitcf6acca80546b5b02fc17311d4071db02d9b3fb5 (patch)
tree1efbb4975b0c3124ae7f586e7beb12b642f9c284 /packages/linux
parente4b6e2ac660cd635f1161fd1ef43fc80f21f84d1 (diff)
linux-openmoko-devel: use patch instead of forcing people to download 40MB every time the nano version gets bumped, also apply patch using patch.bbclass instead of inside silly do_prepatch hack
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/linux-openmoko-devel_svn+2.6.23.1.bb15
1 files changed, 8 insertions, 7 deletions
diff --git a/packages/linux/linux-openmoko-devel_svn+2.6.23.1.bb b/packages/linux/linux-openmoko-devel_svn+2.6.23.1.bb
index f116fd1143..e1686eada9 100644
--- a/packages/linux/linux-openmoko-devel_svn+2.6.23.1.bb
+++ b/packages/linux/linux-openmoko-devel_svn+2.6.23.1.bb
@@ -1,13 +1,15 @@
require linux.inc
DESCRIPTION = "Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ OpenMoko"
-VANILLA_VERSION = "2.6.23.1"
+VANILLA_VERSION = "2.6.23"
#KERNEL_VERSION = "2.6.23-rc9"
-#KERNEL_RELEASE = "2.6.23-rc9"
+KERNEL_RELEASE = "2.6.23.1"
+
+# If you use a rc, you will need to use this:
#PV = "${VANILLA_VERSION}+${KERNEL_RELEASE}-moko11+svnr${SRCREV}"
-KERNEL_VERSION = "${VANILLA_VERSION}"
-KERNEL_RELEASE = "${VANILLA_VERSION}"
-PV = "${VANILLA_VERSION}+svnr${SRCREV}"
+
+KERNEL_VERSION = "${KERNEL_RELEASE}"
+PV = "${KERNEL_RELEASE}+svnr${SRCREV}"
PR = "r1"
KERNEL_IMAGETYPE = "uImage"
@@ -20,7 +22,7 @@ SRCREV_FORMAT = "patches"
SRCREV = "3140"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${VANILLA_VERSION}.tar.bz2 \
-# ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-${KERNEL_VERSION}.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${KERNEL_VERSION}.bz2;patch=1 \
svn://svn.openmoko.org/branches/src/target/kernel/2.6.23.x;module=patches;proto=http;name=patches \
file://squashfs-2.6.23.patch;patch=1 \
file://fix-EVIOCGRAB-semantics-2.6.22.5.patch;patch=1 \
@@ -55,7 +57,6 @@ module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-neo1973-wm8753"
module_autoload_s3cmci = "s3cmci"
do_prepatch() {
-# cd ${S} && patch -p1 < ${WORKDIR}/patch-${KERNEL_VERSION}
mv ${WORKDIR}/patches ${S}/patches && cd ${S} && quilt push -av
mv patches patches.openmoko
mv .pc .pc.old