From: John Bowler Date: Tue, 31 May 2005 16:51:00 +0000 (+0000) Subject: Merge marsco.kalmiopsis:/home/nslu2/openembedded X-Git-Tag: Release-2010-05/1~14047 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c43fc45b1d9265f2fe0bbd229ef816ce31a7ec0;p=openembedded.git Merge marsco.kalmiopsis:/home/nslu2/openembedded into marsco.kalmiopsis:/home/nslu2/ref 2005/05/31 09:49:53-07:00 kalmiopsis!jbowler Dev only change (does not change openslug). Fix nslu2-kernel so that it handles -rc patches correctly. Move or copy patches from 2.6.11-mm which are required in 2.6.12 BKrev: 429c95f4Cw4H12IiLOLp5_5mnzbGpw --- diff --git a/packages/linux/nslu2-kernel.inc b/packages/linux/nslu2-kernel.inc index 749fadce8a..26e8f729e6 100644 --- a/packages/linux/nslu2-kernel.inc +++ b/packages/linux/nslu2-kernel.inc @@ -113,13 +113,13 @@ python () { pname = '-'.join(name) if patch[0:2] == "rc" or patch[0:3] == "pre": patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/v%s/testing/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname)) - kernel[-1] = kernel[-1] - 1 + kernel[-1] = str(int(kernel[-1]) - 1) if patch[0:2] == "rc" and pref == 10: pref = 6 filepath[0:0] = [ filedir % (name[0] + "-rc") ] else: pref = 2 - elif patch[0:2] == "bk": + elif patch[0:2] == "bk" or patch[0:3] == "git": patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname)) pref = 2 elif patch[0:2] == "ac": @@ -149,7 +149,7 @@ python () { bb.data.setVar("N2K_FILESPATH", ':'.join(filepath), d) # bb.note("N2K_FILESPATH := %s" % ' '.join(filepath)) bb.data.setVar("DEFAULT_PREFERENCE", pref-mmac, d) - # bb.note("DEFAULT_PREFERENCE := %s" % pref-mmac) + # bb.note("DEFAULT_PREFERENCE := %s" % (pref-mmac)) } # FILESPATH: this list is in order last-searched-first, therefore diff --git a/packages/linux/nslu2-kernel/2.6.11-mm/compile-switches.patch b/packages/linux/nslu2-kernel/2.6.12/x1205-rtc.c-id.patch similarity index 100% rename from packages/linux/nslu2-kernel/2.6.11-mm/compile-switches.patch rename to packages/linux/nslu2-kernel/2.6.12/x1205-rtc.c-id.patch diff --git a/packages/linux/nslu2-kernel/2.6/compile-switches.patch b/packages/linux/nslu2-kernel/2.6/compile-switches.patch new file mode 100644 index 0000000000..e69de29bb2