summaryrefslogtreecommitdiff
path: root/packages/linux/nslu2-kernel.inc
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-02 01:53:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-02 01:53:39 +0000
commitae3933c339fb708549164e7ed7787a54b0861923 (patch)
treee134adcedcaea10670f663e466c69a038bc793e7 /packages/linux/nslu2-kernel.inc
parent1fda5f0233832ffa3c8adff3499b64ab3f7b7248 (diff)
nslu2-kernel.inc: make the FILESPATH include 2.6.12 as well
as 2.6.12.2 2.6.12/defconfig: add TUN 2.6.12.2.bb: working 2.6.12.2 NSLU2 kernel
Diffstat (limited to 'packages/linux/nslu2-kernel.inc')
-rw-r--r--packages/linux/nslu2-kernel.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/linux/nslu2-kernel.inc b/packages/linux/nslu2-kernel.inc
index f5b035a6e5..e3dfa1814c 100644
--- a/packages/linux/nslu2-kernel.inc
+++ b/packages/linux/nslu2-kernel.inc
@@ -104,9 +104,10 @@ python () {
base = pv[0]
name = [base]
major = '.'.join(name[0].split('.')[0:2])
+ minor = '.'.join(name[0].split('.')[0:3])
patch_uri = [ None ]
filedir = "${FILE_DIRNAME}/nslu2-kernel/%s"
- # This entry will become the last one (everything is insertd before it)
+ # This entry will become the last one (everything is inserted before it)
filepath = [ filedir % "files" ]
pref = 10
mmac = 0
@@ -141,6 +142,8 @@ 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 ]
+ if base != minor:
+ filepath[-1:-1] = [ filedir % minor ]
filepath[-1:-1] = [ filedir % major ]
bb.data.setVar("N2K_SRCMAJ", major, d)