From 775c746f69a6eb9cfacc76b6c8c97f4296f59f8b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Aug 2009 15:07:41 +0200 Subject: 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. --- classes/base.bbclass | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3