base.bbclass: Strip -sdk from the PN for BPN as well
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 1 Aug 2009 13:07:41 +0000 (15:07 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 1 Aug 2009 13:07:41 +0000 (15:07 +0200)
This is fixing the compilation of libtool-sdk_2.6.6a
which is currently the only user of BPN.

classes/base.bbclass

index 9c51c0a..ef6c0ab 100644 (file)
@@ -216,6 +216,9 @@ def base_package_name(d):
                pn = pn[0:-8]
   elif pn.endswith("-intermediate"):
                pn = pn[0:-13]
+  elif pn.endswith("-sdk"):
+               pn = pn[0:-4]
+
 
   return pn