]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
kernel.bbclass: fix snafu
authorRene Wagner <rw@handhelds.org>
Sun, 21 May 2006 22:01:02 +0000 (00:01 +0200)
committerRene Wagner <rw@handhelds.org>
Sun, 21 May 2006 22:01:02 +0000 (00:01 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/classes/kernel.bbclass

index c1cd25174c36fc2459a9d2a6214daac0308109b3..e663643ce532ccbd3666a2c1feec578c3c9c62a4 100644 (file)
@@ -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 ""