Patchwork [meta-gpe,3/8] meta-gpe: use BPN in SRC_URI

login
register
mail settings
Submitter Robert Yang
Date July 3, 2014, 2:25 a.m.
Message ID <1404354360-978-4-git-send-email-liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/74849/
State Accepted, archived
Headers show

Comments

Robert Yang - July 3, 2014, 2:25 a.m.
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../recipes-graphics/minilite/minilite_0.50.bb     |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-gpe/recipes-graphics/minilite/minilite_0.50.bb b/meta-gpe/recipes-graphics/minilite/minilite_0.50.bb
index 81095be..90960a2 100644
--- a/meta-gpe/recipes-graphics/minilite/minilite_0.50.bb
+++ b/meta-gpe/recipes-graphics/minilite/minilite_0.50.bb
@@ -8,7 +8,7 @@  DEPENDS = "libgpewidget"
 
 inherit gpe
 
-SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.gz \
+SRC_URI = "${GPE_MIRROR}/${BP}.tar.gz \
            file://makefile-fix.patch"
 SRC_URI[md5sum] = "d81cecf269ad7bab0da960e6e7228332"
 SRC_URI[sha256sum] = "2b299425203246090a4949e034f1d0efb3ff99cd1591d0e16c57370a530b361e"