From 539d1d9592ca0cde57ce94e227b63fd1104bb9d5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 10 Nov 2009 13:58:46 +0000 Subject: 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 --- conf/bitbake.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf') 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. -- cgit v1.2.3