summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-01 15:07:41 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-01 15:07:41 +0200
commit775c746f69a6eb9cfacc76b6c8c97f4296f59f8b (patch)
treea4b3a72194c5f1274587376da84405849b94f66d /classes/base.bbclass
parent5a637631891e2a6b4cd18a02107247f636bd4d8a (diff)
base.bbclass: Strip -sdk from the PN for BPN as well
This is fixing the compilation of libtool-sdk_2.6.6a which is currently the only user of BPN.
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 9c51c0a08e..ef6c0abf8f 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -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