aboutsummaryrefslogtreecommitdiffstats
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-10 13:58:46 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-10 13:58:46 +0000
commit539d1d9592ca0cde57ce94e227b63fd1104bb9d5 (patch)
tree5e26366ce67e379eef6df1425b49ec43bcba94b4 /conf/bitbake.conf
parent4ecbf17b161b54780c26af2c6e90333f8825b013 (diff)
downloadopenembedded-539d1d9592ca0cde57ce94e227b63fd1104bb9d5.tar.gz
base.bbclass: Replace the base_package_name function with the base_prune_suffix() function from Poky and extend the number of special suffixes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index ddd4196eb3..e74b63e23e 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -190,7 +190,8 @@ MACHINE_KERNEL_PR = ""
# Base package name
# Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial"
# otherwise it is the same as PN and P
-BPN = "${@base_package_name(d)}"
+SPECIAL_PKGSUFFIX = "-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian -sdk"
+BPN = "${@base_prune_suffix(bb.data.getVar('PN', d, True), bb.data.getVar('SPECIAL_PKGSUFFIX', d, True).split(), d)}"
BP = "${BPN}-${PV}"
# Package info.