SRC_URI: Using BPN instaed of PN.
[YOCTO #1333] In multilib cases, PN has the prefix of MLPREFIX. It is not correct to use PN in SRC_URI. We should use the pruned BPN instead. (From OE-Core rev: ce94fa29b81bebaaee8058f0600e111832d638f2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
999a84bdb3
commit
e3bdc689f2
|
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
|
|||
|
||||
DEPENDS = "dbus glib-2.0 dbus-glib"
|
||||
|
||||
SRC_URI = "http://www.galago-project.org/files/releases/source/${BPN}/${P}.tar.gz \
|
||||
SRC_URI = "http://www.galago-project.org/files/releases/source/${BPN}/${BPN}-${PV}.tar.gz \
|
||||
file://mkdir.patch;patch=1 \
|
||||
file://pkgconfig.patch;patch=1 "
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
|
|||
PR = "r0"
|
||||
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \
|
||||
${DEBIAN_MIRROR}/main/n/net-tools/${PN}_${PV}.diff.gz;apply=no;name=patch \
|
||||
${DEBIAN_MIRROR}/main/n/net-tools/${BPN}_${PV}.diff.gz;apply=no;name=patch \
|
||||
file://net-tools-config.h \
|
||||
file://net-tools-config.make"
|
||||
|
||||
|
@ -31,7 +31,7 @@ PARALLEL_MAKE = ""
|
|||
# up all previously applied patches in the start
|
||||
nettools_do_patch() {
|
||||
cd ${S}
|
||||
patch -p1 < ${WORKDIR}/${PN}_${PV}.diff
|
||||
patch -p1 < ${WORKDIR}/${BPN}_${PV}.diff
|
||||
QUILT_PATCHES=${S}/debian/patches quilt push -a
|
||||
rm -rf ${S}/patches ${S}/.pc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue