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@googlemail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Richard Weinberger 2019-01-10 10:42:09 +01:00 committed by Khem Raj
parent 43e63981a1
commit 49008c55d4

View File

@ -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' \