]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
attr: Use BPN instead of PN for style like lib${PN}
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 18 Aug 2011 06:54:55 +0000 (14:54 +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/attr.inc

index c11034069c8faffafe934274f607e0123867d622..6deb004b1ccf7fbd07e28837791fc0e7665f9e16 100644 (file)
@@ -6,7 +6,7 @@ DEPENDS = "ncurses"
 
 LICENSE = "LGPLv2.1+ & GPLv2+"
 LICENSE_${PN} = "GPLv2+"
-LICENSE_lib${PN} = "LGPLv2.1+"
+LICENSE_lib${BPN} = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \
                     file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \
                     file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb"