[oe] [meta-java] [PATCH] antlr/cup: inherit java-bootstrap-components

Jens Rehsack rehsack at gmail.com
Wed Dec 9 15:15:26 UTC 2015


> Am 09.12.2015 um 08:15 schrieb jackie.huang at windriver.com:
> 
> From: Jackie Huang <jackie.huang at windriver.com>
> 
> This should be part of the following commit but missed:
> commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566
> Author: Jens Rehsack <rehsack at gmail.com>
> Date:   Tue Dec 8 14:51:50 2015 +0100
> 
>    meta-java: rely on well known bootstrap-path
> 
>    Instead of potential circular depending virtual/javac-native (even this
>    recipe provides such a useable java-native), rely on well known path
>    via cacao-native to build up to icedtea7-native in reliable manner.
> 
>    virtual/javac-native should be used by parts not belonging to the bootstrap
>    phase.
> 
>    Signed-off-by: Jens Rehsack <sno at netbsd.org>
>    Signed-off-by: Maxin B. John <maxin.john at intel.com>
> 
> Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
> ---
> recipes-core/antlr/antlr_2.7.7.bb | 2 +-
> recipes-core/cup/cup_0.10k.bb     | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-core/antlr/antlr_2.7.7.bb b/recipes-core/antlr/antlr_2.7.7.bb
> index 9d9d2d4..cff9535 100644
> --- a/recipes-core/antlr/antlr_2.7.7.bb
> +++ b/recipes-core/antlr/antlr_2.7.7.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=361934e706423915b4d9f413ad37fb65"
> SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz"
> SRC_URI_append_class-native = " file://runantlr"
> 
> -inherit java-library
> +inherit java-library java-bootstrap-components
> 
> do_configure_class-native() {
>     sed -i -e"s|@JAR_FILE@|${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar|" ${WORKDIR}/runantlr
> diff --git a/recipes-core/cup/cup_0.10k.bb b/recipes-core/cup/cup_0.10k.bb
> index 2a957f9..f2f254e 100644
> --- a/recipes-core/cup/cup_0.10k.bb
> +++ b/recipes-core/cup/cup_0.10k.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=2c9db91c00f38e52cfc8e67bafaa7c
> RDEPENDS_${PN} = "java2-runtime"
> RDEPENDS_${PN}_virtclass-native = ""
> 
> -inherit java-library
> +inherit java-library java-bootstrap-components
> 
> SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/CUP/java_${BPN}_v10k.tar.gz \
> 	   file://cup \
> --
> 2.3.5
> 

It's very likely that I didn't catch the very latest dependency, even checking multiple times.
Usually an already published history shouldn't been rewritten (I would be fine with that, but maybe other users get offended).

Cheers
--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151209/e4e733ab/attachment-0002.sig>


More information about the Openembedded-devel mailing list