[oe] [meta-java][PATCH V2 2/2] openjdk-8: remove redunant FILES_${PN}-dbg

Richard Leitner richard.leitner at skidata.com
Wed Jun 13 13:42:17 UTC 2018


Hi,
this is a note to let you know that I've just added this patch to the
master-next branch of the meta-java repository at
	git://git.yoctoproject.org/meta-java

As soon as it has gone through some more testing it will likely be
merged to the master branch.

If you have any questions, please let me know.

regards;Richard.L

On 06/13/2018 10:37 AM, Wenlin Kang wrote:
> One recipe should only have one -dbg package, because OE only picks
> up all .debug file into the last one -dbg package listed in variable
> PACKAGES.
> 
> Comments(oe-core's commit a3b000643898d7402b9e57c02e8d10e677cc9722)
> from Ross Burton as below:
> "meta: more removals of redunant FILES_${PN}-dbg
> 
> In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
> there's a very good reason, recipes should have a single -dev and -dbg package.
> "
> 
> Signed-off-by: Wenlin Kang <wenlin.kang at windriver.com>
> ---
>  recipes-core/openjdk/openjdk-8_16xbyy.bb | 29 -----------------------------
>  1 file changed, 29 deletions(-)
> 
> diff --git a/recipes-core/openjdk/openjdk-8_16xbyy.bb b/recipes-core/openjdk/openjdk-8_16xbyy.bb
> index dd0ed1d..522d6b5 100644
> --- a/recipes-core/openjdk/openjdk-8_16xbyy.bb
> +++ b/recipes-core/openjdk/openjdk-8_16xbyy.bb
> @@ -14,7 +14,6 @@ do_install() {
>  }
>  
>  PACKAGES_append = " \
> -    ${PN}-demo-dbg \
>      ${PN}-demo \
>      ${PN}-source \
>  "
> @@ -33,37 +32,9 @@ FILES_${PN}-dev_append = "\
>      ${JDK_HOME}/include \
>  "
>  
> -FILES_${PN}-dbg_append = "\
> -    ${JDK_HOME}/bin/.debug/ \
> -    ${JDK_HOME}/lib/.debug/ \
> -    ${JDK_HOME}/lib/${JDK_ARCH}/.debug/ \
> -    ${JDK_HOME}/lib/${JDK_ARCH}/jli/.debug/ \
> -    ${JDK_HOME}/jre/bin/.debug/ \
> -    ${JDK_HOME}/jre/lib/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/jli/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/native_threads/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/server/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/headless/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/xawt/.debug/ \
> -    ${JDK_HOME}/jre/lib/${JDK_ARCH}/client/.debug/ \
> -"
> -
>  FILES_${PN}-demo = " ${JDK_HOME}/demo ${JDK_HOME}/sample "
>  RDEPENDS_${PN}-demo = " ${PN} "
>  
> -FILES_${PN}-demo-dbg = "\
> -    ${JDK_HOME}/demo/jvmti/gctest/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/heapTracker/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/heapViewer/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/hprof/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/minst/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/mtrace/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/versionCheck/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/waiters/lib/.debug/ \
> -    ${JDK_HOME}/demo/jvmti/compiledMethodLoad/lib/.debug/ \
> -"
> -
>  FILES_${PN}-doc_append = "\
>      ${JDK_HOME}/man \
>      ${JDK_HOME}/ASSEMBLY_EXCEPTION \
> 



More information about the Openembedded-devel mailing list