Patchwork [4/5] acl: Use BPN instead of PN for style like lib${PN}

login
register
mail settings
Submitter Dongxiao Xu
Date Aug. 18, 2011, 9:09 a.m.
Message ID <676403e46aa9b134845d0bdcd28346555da7ed22.1313658393.git.dongxiao.xu@intel.com>
Download mbox | patch
Permalink /patch/10169/
State New, archived
Headers show

Comments

Dongxiao Xu - Aug. 18, 2011, 9:09 a.m.
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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
index 15a87a5..b504517 100644
--- a/meta/recipes-support/attr/acl.inc
+++ b/meta/recipes-support/attr/acl.inc
@@ -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"