Hi,
On 11/10/2021 19:47, Khem Raj wrote:
On Mon, Oct 11, 2021 at 2:50 AM Akira Shibakawa <[email protected]> wrote:
Hi
I want to let my customer compile java code on Yocto SDK.
But, there is no nativesdk recipe of OpenJDK in meta-java.
Is there any reason to it ?
I guess no one submitted a patch to enhance the recipe to do nativesdk
builds so far.
Or, is there any plan to add it ?
It's Java - write once debug everywhere - so I guess the use case you
want is not frequently needed.
A quick grep shows this:
bitbake-layers show-recipes | grep -B 1 meta-java | grep native
ant-contrib-native:
ant-native:
cacao-initial-native:
classpath-initial-native:
classpath-native:
ecj-bootstrap-native:
ecj-initial-native:
icedtea7-native:
jamvm-initial-native:
jikes-initial-native:
libecj-bootstrap-native:
openjdk-8-native:
meaning there is no nativesdk- recipe in meta-java
There are -native recipes like openjdk-8-native but they are only
accessible to your customer in "cooker mode" after bitbaking everything.
something like:
bitbake openjdk-8-native -c addto_recipe_sysroot
oe-run-native openjdk-8-native <whatever you want to call from there>
As a workaround you could build an extensible SDK, write a recipe and
let your customer compile like that.
thanks
Regards,
Robert
--
Robert Berger
Embedded Software Evangelist
Reliable Embedded Systems
Consulting Training Engineering
URL: https://www.reliableembeddedsystems.com
Schedule a web meeting:
https://calendly.com/reliableembeddedsystems/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156851):
https://lists.openembedded.org/g/openembedded-core/message/156851
Mute This Topic: https://lists.openembedded.org/mt/86232870/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-