Patchwork nostromo: make SRC_URI work for multilib builds.

login
register
mail settings
Submitter Randy MacLeod
Date June 18, 2013, 7:21 p.m.
Message ID <1371583280-4333-1-git-send-email-Randy.MacLeod@windriver.com>
Download mbox | patch
Permalink /patch/51939/
State New
Headers show

Comments

Randy MacLeod - June 18, 2013, 7:21 p.m.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
 meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Mark Hatle - June 18, 2013, 8:12 p.m.
On 6/18/13 2:21 PM, Randy MacLeod wrote:

Wrong list.  This should have gone to the oe-devel list, and been tagged with 
[networking] in the subject.

Also one thing below:

> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> ---
>   meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
> index e66676e..f729e6a 100644
> --- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
> +++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
> @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.nazgul.ch/dev_nostromo.html"
>   LICENSE = "MIT"
>   LIC_FILES_CHKSUM = "file://src/nhttpd/main.c;beginline=2;endline=14;md5=e5ec3fa723b29b7d59d205afd8d36938"
>
> -SRC_URI = "http://www.nazgul.ch/dev/${PN}-${PV}.tar.gz \
> +SRC_URI = "http://www.nazgul.ch/dev/nostromo-${PV}.tar.gz \

You can also use '${BPN}' to refer to the original recipe name, not the multilib 
name.

--Mark

>              file://0001-GNUmakefile-add-possibility-to-override-variables.patch \
>              file://nhttpd.conf \
>              file://volatiles \
>

Patch

diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
index e66676e..f729e6a 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -3,7 +3,7 @@  HOMEPAGE = "http://www.nazgul.ch/dev_nostromo.html"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://src/nhttpd/main.c;beginline=2;endline=14;md5=e5ec3fa723b29b7d59d205afd8d36938"
 
-SRC_URI = "http://www.nazgul.ch/dev/${PN}-${PV}.tar.gz \
+SRC_URI = "http://www.nazgul.ch/dev/nostromo-${PV}.tar.gz \
            file://0001-GNUmakefile-add-possibility-to-override-variables.patch \
            file://nhttpd.conf \
            file://volatiles \