[oe] [meta-java][PATCH] cacao: class-native: RPROVIDE virtual/java-native

André Draszik git at andred.net
Mon Sep 17 14:20:12 UTC 2018


On Fri, 2018-09-07 at 20:25 +0300, Yevgeny Popovych wrote:
> This will allow other native recipes RDEPEND on virtual/java-native.

I don't understand, can you please explain why a target package would ever
want to runtime depend on a native package?

How did you test this?

Also, the virtual/ namespace is usually used in PROVIDES, not in RPROVIDES.


Cheers,
Andre'

> 
> Change-Id: I85fcd012d09441867fa5f359463cbe8fff702fbe
> Signed-off-by: Yevgeny Popovych <yevgenyp at pointgrab.com>
> ---
>  recipes-core/cacao/cacao_1.6.1.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-
> core/cacao/cacao_1.6.1.bb
> index 1074ff5..ead0e2f 100644
> --- a/recipes-core/cacao/cacao_1.6.1.bb
> +++ b/recipes-core/cacao/cacao_1.6.1.bb
> @@ -6,6 +6,7 @@ SECTION  = "interpreters"
>  
>  DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native
> fastjar-native classpath-initial-native classpath-native bdwgc-native
> virtual/java-initial-native"
>  PROVIDES_class-native = "virtual/java-native"
> +RPROVIDES_${PN}_class-native = "virtual/java-native"
>  
>  DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc"
>  RPROVIDES_${PN} = "java2-runtime"
> -- 
> 2.7.4
> 




More information about the Openembedded-devel mailing list