The current zulu-jdk package includes many big files that are not required to run java-programs on target devices. This patch avoids that zulu-jdk acquires too much space on the target device.
Signed-off-by: Sven Ebenfeld <sven.ebenf...@gmail.com> --- recipes-devtools/zulu-ezdk-arm-hflt.bb | 14 ++++++++++++++ recipes-devtools/zulu-ezdk-arm-sflt.bb | 14 ++++++++++++++ recipes-devtools/zulu-ezdk-x86-64.bb | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/recipes-devtools/zulu-ezdk-arm-hflt.bb b/recipes-devtools/zulu-ezdk-arm-hflt.bb index 636f245..4f7781c 100644 --- a/recipes-devtools/zulu-ezdk-arm-hflt.bb +++ b/recipes-devtools/zulu-ezdk-arm-hflt.bb @@ -43,3 +43,17 @@ PROVIDES += "virtual/java" DEPENDS = "alsa-lib libxi libxrender libxtst" +FILES_${PN}-doc = " \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*/client/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*/jli/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/man/ \ + " + +FILES_${PN}-dev = " \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/src.zip \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/demo/ \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/sample/ \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/include/ \ + " \ No newline at end of file diff --git a/recipes-devtools/zulu-ezdk-arm-sflt.bb b/recipes-devtools/zulu-ezdk-arm-sflt.bb index 5bb2b7e..0324fcd 100644 --- a/recipes-devtools/zulu-ezdk-arm-sflt.bb +++ b/recipes-devtools/zulu-ezdk-arm-sflt.bb @@ -43,3 +43,17 @@ PROVIDES += "virtual/java" DEPENDS = "alsa-lib libxi libxrender libxtst" +FILES_${PN}-doc = " \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*/client/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/jre/lib/*/jli/*.diz \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/man/ \ + " + +FILES_${PN}-dev = " \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/src.zip \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/demo/ \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/sample/ \ + ${datadir}/ezdk-${PV}_${PV_UPDATE}/include/ \ + " \ No newline at end of file diff --git a/recipes-devtools/zulu-ezdk-x86-64.bb b/recipes-devtools/zulu-ezdk-x86-64.bb index f132cdb..60272b3 100644 --- a/recipes-devtools/zulu-ezdk-x86-64.bb +++ b/recipes-devtools/zulu-ezdk-x86-64.bb @@ -43,3 +43,17 @@ PROVIDES += "virtual/java" DEPENDS = "alsa-lib libxi libxrender libxtst" +FILES_${PN}-doc = " \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/jre/lib/*/*.diz \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/jre/lib/*.diz \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/jre/lib/*/client/*.diz \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/jre/lib/*/jli/*.diz \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/man/ \ + " + +FILES_${PN}-dev = " \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/src.zip \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/demo/ \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/sample/ \ + ${datadir}/zulu-${PV}_${PV_UPDATE}/include/ \ + " \ No newline at end of file -- 2.13.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto