summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/classes
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-22 00:01:02 +0200
committerRene Wagner <rw@handhelds.org>2006-05-22 00:01:02 +0200
commit488c66cc2a6b69f11097dd2e1abbf839b9bb0c6b (patch)
treeaf467fbe9a06d7609294413064dda5d82503b1ba /org.handhelds.familiar/classes
parentf2027d9e8beb2a79bd7af811993eecf3f0e34512 (diff)
kernel.bbclass: fix snafu
Signed-off-by: Rene Wagner <rw@handhelds.org>
Diffstat (limited to 'org.handhelds.familiar/classes')
-rw-r--r--org.handhelds.familiar/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.handhelds.familiar/classes/kernel.bbclass b/org.handhelds.familiar/classes/kernel.bbclass
index c1cd251..e663643 100644
--- a/org.handhelds.familiar/classes/kernel.bbclass
+++ b/org.handhelds.familiar/classes/kernel.bbclass
@@ -232,7 +232,7 @@ python populate_packages_prepend () {
kernelver = bb.data.getVar('PV', d, 1) + bb.data.getVar('KERNEL_LOCALVERSION', d, 1)
kernelver_stripped = kernelver
m = re.match('^(.*-hh.*)[\.\+].*$', kernelver)
- if m and not bb.data.getVar('KERNEL_PRESERVE_HH_MINOR_VER'):
+ if m and not bb.data.getVar('KERNEL_PRESERVE_HH_MINOR_VER', d, 1):
kernelver_stripped = m.group(1)
path = bb.data.getVar("PATH", d, 1)
host_prefix = bb.data.getVar("HOST_PREFIX", d, 1) or ""