[oe-commits] [meta-openembedded] 06/12: caps: Don't use ${PN}

git at git.openembedded.org git at git.openembedded.org
Fri Jan 11 07:28:07 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 49008c55d467292f365ac72d6f69f85bd093445e
Author: Richard Weinberger <richard at nod.at>
AuthorDate: Thu Jan 10 10:42:09 2019 +0100

    caps: Don't use ${PN}
    
    Don't use ${PN} for the source dir, it will break multilib builds.
    The correct variable is ${BPN}.
    
    The bitbake defaults are:
    BP = "${BPN}-${PV}"
    S = "${WORKDIR}/${BP}"
    
    Therefore we can remove this line.
    
    Cc: Andreas Müller <schnitzeltony at googlemail.com>
    Signed-off-by: Richard Weinberger <richard at nod.at>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb b/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
index fe864c4..0404bd5 100644
--- a/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
+++ b/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://quitte.de/dsp/caps.html"
 LICENSE = "GPL-3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-SRC_URI = "http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \
+SRC_URI = "http://quitte.de/dsp/${BPN}_${PV}.tar.bz2 \
            file://Avoid-ambiguity-in-div-invocation.patch \
            file://0001-basic.h-Use-c99-supported-stdint-types.patch \
            file://append_ldflags.patch \
@@ -13,8 +13,6 @@ SRC_URI = "http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \
 SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626"
 SRC_URI[sha256sum] = "f746feba57af316b159f0169de5d78b4fd1064c2c0c8017cb5856b2f22e83f20"
 
-S = "${WORKDIR}/${PN}-${PV}"
-
 EXTRA_OEMAKE = " \
     CC='${CXX}' \
     CFLAGS='${CFLAGS} -ffast-math -funroll-loops -fPIC -DPIC' \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list