From 1ead78df743daa23834f39f1399b3ba8de8f5ce2 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sun, 19 Jun 2005 01:23:41 +0000 Subject: 2.6.12, builds, boots, no network BKrev: 42b4c91dxOH_4bdPsmtMhPY4AEvjLw --- packages/linux/nslu2-kernel.inc | 6 ++++-- packages/linux/nslu2-kernel/2.6.12/defconfig | 0 packages/linux/nslu2-kernel/2.6.12/nslu2-arch.patch | 0 packages/linux/nslu2-kernel/2.6/ixp4xx-regs.patch | 0 packages/linux/nslu2-kernel/2.6/x1205-rtc.patch | 0 packages/linux/nslu2-kernel_2.6.12.bb | 0 6 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 packages/linux/nslu2-kernel/2.6.12/defconfig create mode 100644 packages/linux/nslu2-kernel/2.6.12/nslu2-arch.patch create mode 100644 packages/linux/nslu2-kernel/2.6/ixp4xx-regs.patch create mode 100644 packages/linux/nslu2-kernel/2.6/x1205-rtc.patch create mode 100644 packages/linux/nslu2-kernel_2.6.12.bb diff --git a/packages/linux/nslu2-kernel.inc b/packages/linux/nslu2-kernel.inc index 5b54fe3d2c..8f3b620b25 100644 --- a/packages/linux/nslu2-kernel.inc +++ b/packages/linux/nslu2-kernel.inc @@ -106,7 +106,8 @@ python () { major = '.'.join(name[0].split('.')[0:2]) patch_uri = [ None ] filedir = "${FILE_DIRNAME}/nslu2-kernel/%s" - filepath = [ filedir % major ] + # This entry will become the last one (everything is insertd before it) + filepath = [ filedir % "files" ] pref = 10 mmac = 0 for patch in pv[1:]: @@ -117,6 +118,7 @@ python () { kernel[-1] = str(int(kernel[-1]) - 1) if patch[0:2] == "rc" and pref == 10: pref = 6 + filepath[0:0] = [ filedir % name[0] ] filepath[0:0] = [ filedir % (name[0] + "-rc") ] else: pref = 2 @@ -139,7 +141,7 @@ python () { base = '.'.join(kernel) patch_uri[0] = "ftp://ftp.kernel.org/pub/linux/kernel/v%s/linux-%s.tar.bz2" % (major, base) filepath[-1:-1] = [ filedir % base ] - filepath[-1:-1] = [ filedir % "files" ] + filepath[-1:-1] = [ filedir % major ] bb.data.setVar("N2K_SRCMAJ", major, d) # bb.note("N2K_SRCMAJ := %s" % major) diff --git a/packages/linux/nslu2-kernel/2.6.12/defconfig b/packages/linux/nslu2-kernel/2.6.12/defconfig new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/linux/nslu2-kernel/2.6.12/nslu2-arch.patch b/packages/linux/nslu2-kernel/2.6.12/nslu2-arch.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/linux/nslu2-kernel/2.6/ixp4xx-regs.patch b/packages/linux/nslu2-kernel/2.6/ixp4xx-regs.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/linux/nslu2-kernel/2.6/x1205-rtc.patch b/packages/linux/nslu2-kernel/2.6/x1205-rtc.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/linux/nslu2-kernel_2.6.12.bb b/packages/linux/nslu2-kernel_2.6.12.bb new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3