${BPN} should be used instead of ${PN} where you want the name without
any prefix (and ${BP} is short for ${BPN}-${PV}).

Signed-off-by: Paul Eggleton <[email protected]>
---
 recipes-security/libseccomp/libseccomp_2.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/libseccomp/libseccomp_2.1.1.bb 
b/recipes-security/libseccomp/libseccomp_2.1.1.bb
index 5e0b962..0663656 100644
--- a/recipes-security/libseccomp/libseccomp_2.1.1.bb
+++ b/recipes-security/libseccomp/libseccomp_2.1.1.bb
@@ -4,7 +4,7 @@ SECTION = "security"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${PN}-${PV}.tar.gz 
\
+SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${BP}.tar.gz \
            file://compiler.patch \
            file://0001-tests-create-install-tests-target.patch \
            file://0002-tests-install-python-tests-if-appropriate.patch \
-- 
1.9.3

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to