summaryrefslogtreecommitdiff
path: root/packages/linux/linux-ixp4xx_2.6.21.7.bb
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-12-19 04:38:07 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-12-19 04:38:07 +0000
commit0ae7ffe431b852bf52424f72a608cc4b0b00e608 (patch)
tree31a29cc681def6156ac56f32aed5b4145ecfaa3d /packages/linux/linux-ixp4xx_2.6.21.7.bb
parent6fab39b44dfe4abb7a68197d9eb5387190462b06 (diff)
parentb1a282eefccb30efaff4877307aa09506fe19297 (diff)
merge of '5968fdd70fe297abea7dae6b5ada03014e1c4e37'
and 'c2b6ec6ab4d7fe9e98eeb4ab4762cdb5da714774'
Diffstat (limited to 'packages/linux/linux-ixp4xx_2.6.21.7.bb')
-rw-r--r--packages/linux/linux-ixp4xx_2.6.21.7.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-ixp4xx_2.6.21.7.bb b/packages/linux/linux-ixp4xx_2.6.21.7.bb
new file mode 100644
index 0000000000..4d26621241
--- /dev/null
+++ b/packages/linux/linux-ixp4xx_2.6.21.7.bb
@@ -0,0 +1,24 @@
+require linux.inc
+require linux-ixp4xx.inc
+
+VANILLA_VERSION = "2.6.21"
+KERNEL_RELEASE = "2.6.21.7"
+
+PV = "${KERNEL_RELEASE}+svnr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${VANILLA_VERSION}.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${KERNEL_RELEASE}.bz2;patch=1 \
+ svn://svn.nslu2-linux.org/svnroot/kernel/trunk/patches;module=${VANILLA_VERSION};proto=http \
+ file://defconfig-${KERNEL_RELEASE}"
+
+S = "${WORKDIR}/linux-${VANILLA_VERSION}"
+
+do_prepatch() {
+ mv ${WORKDIR}/${VANILLA_VERSION} ${S}/patches && cd ${S} && quilt push -av
+ mv patches patches.ixp4xx
+ mv .pc .pc.old
+ mv ${WORKDIR}/defconfig-${KERNEL_RELEASE} ${WORKDIR}/defconfig
+}
+
+addtask prepatch after do_unpack before do_patch