aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/ixp4xx-kernel.inc
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-05-23 20:23:53 -0700
committerChris Larson <chris_larson@mentor.com>2010-05-25 12:53:41 -0700
commitbf7d0467a0788a7fcc1c96e0dc35a25ae09278a0 (patch)
tree96f28e2f5133d68c3e3dadabaa2339340671454f /recipes/linux/ixp4xx-kernel.inc
parentfab0af3aefee22b21541e403d3c356a6979bfa63 (diff)
downloadopenembedded-bf7d0467a0788a7fcc1c96e0dc35a25ae09278a0.tar.gz
Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/linux/ixp4xx-kernel.inc')
-rw-r--r--recipes/linux/ixp4xx-kernel.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/linux/ixp4xx-kernel.inc b/recipes/linux/ixp4xx-kernel.inc
index aa58635770..ddcc81cdd1 100644
--- a/recipes/linux/ixp4xx-kernel.inc
+++ b/recipes/linux/ixp4xx-kernel.inc
@@ -92,7 +92,7 @@ python () {
name.append(patch)
pname = '-'.join(name)
if patch[0:2] == "rc" or patch[0:3] == "pre":
- patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/testing/patch-%s.bz2;patch=1;pname=%s;name=rcpatch" % (major, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/testing/patch-%s.bz2;apply=yes;pname=%s;name=rcpatch" % (major, pname, pname))
kernel[-1] = str(int(kernel[-1]) - 1)
if patch[0:2] == "rc" and pref == 10:
pref = 6
@@ -101,14 +101,14 @@ python () {
else:
pref = 2
elif patch[0:2] == "bk" or patch[0:3] == "git":
- patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;patch=1;pname=%s;name=gitpatch" % (major, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;apply=yes;pname=%s;name=gitpatch" % (major, pname, pname))
pref = 2
elif patch[0:2] == "ac":
patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/alan/linux-%s/%s/patch-%s;name=acpatch" % (major, base, pname))
mmac = 2
filepath[0:0] = [ filedir % (name[0] + "-ac") ]
elif patch[0:2] == "mm":
- patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/%s/%s/%s/%s.bz2;patch=1;pname=%s;name=mmpatch" % (major, base, pname, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/%s/%s/%s/%s.bz2;apply=yes;pname=%s;name=mmpatch" % (major, base, pname, pname, pname))
mmac = 2
filepath[0:0] = [ filedir % (name[0] + "-mm") ]
else: