Patchwork [04/16] gtk-doc: Add machine recipe type

login
register
mail settings
Submitter Yann Diorcet
Date Oct. 21, 2012, 3:37 p.m.
Message ID <1350833876-9499-4-git-send-email-diorcet.yann@gmail.com>
Download mbox | patch
Permalink /patch/193027/
State Rejected
Delegated to: Esben Haabendal
Headers show

Comments

Yann Diorcet - Oct. 21, 2012, 3:37 p.m.
From: Yann Diorcet <yann.diorcet@belledonne-communications.com>

---
 recipes/gtk-doc/gtk-doc.oe |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Esben Haabendal - Feb. 28, 2013, 1:15 p.m.
Yann Diorcet <diorcet.yann@gmail.com> writes:

> From: Yann Diorcet <yann.diorcet@belledonne-communications.com>
>
> ---
>  recipes/gtk-doc/gtk-doc.oe |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes/gtk-doc/gtk-doc.oe b/recipes/gtk-doc/gtk-doc.oe
> index b5f92a9..61bd835 100644
> --- a/recipes/gtk-doc/gtk-doc.oe
> +++ b/recipes/gtk-doc/gtk-doc.oe
> @@ -2,7 +2,7 @@ SRC_URI = "file://gtk-doc.m4"
>  LICENSE = "GPL-2.0"
>  PR = "r3"
>  
> -RECIPE_TYPES = "native cross sdk-cross"
> +RECIPE_TYPES = "native machine cross sdk-cross"
>  
>  do_install() {
>  	install -d ${D}/${datadir}/aclocal

This should not be necessary.  When you need gtk-doc, you should depend
on something like "host-cross:gtk-doc", so you will never need
machine:gtk-doc.

/Esben

Patch

diff --git a/recipes/gtk-doc/gtk-doc.oe b/recipes/gtk-doc/gtk-doc.oe
index b5f92a9..61bd835 100644
--- a/recipes/gtk-doc/gtk-doc.oe
+++ b/recipes/gtk-doc/gtk-doc.oe
@@ -2,7 +2,7 @@  SRC_URI = "file://gtk-doc.m4"
 LICENSE = "GPL-2.0"
 PR = "r3"
 
-RECIPE_TYPES = "native cross sdk-cross"
+RECIPE_TYPES = "native machine cross sdk-cross"
 
 do_install() {
 	install -d ${D}/${datadir}/aclocal