]> code.ossystems Code Review - openembedded-core.git/commitdiff
acl: Use BPN instead of PN for style like lib${PN}
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 18 Aug 2011 06:55:33 +0000 (14:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Aug 2011 16:05:53 +0000 (09:05 -0700)
When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
meta/recipes-support/attr/acl.inc

index 15a87a5a0f45d9fc99ac393d5d6f634452263f52..b5045172378cd26a212d5915c7466251739f2637 100644 (file)
@@ -4,7 +4,7 @@ SECTION = "libs"
 
 LICENSE = "LGPLv2.1+ & GPLv2+"
 LICENSE_${PN} = "GPLv2+"
-LICENSE_lib${PN} = "LGPLv2.1+"
+LICENSE_lib${BPN} = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
                     file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"