openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [meta-java] OpneJDK nativesdk recipe
@ 2021-10-11  9:49 Akira Shibakawa
  2021-10-11 16:47 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Akira Shibakawa @ 2021-10-11  9:49 UTC (permalink / raw)
  To: openembedded-core

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 ?
Or, is there any plan to add it ?

thanks


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [meta-java] OpneJDK nativesdk recipe
  2021-10-11  9:49 [meta-java] OpneJDK nativesdk recipe Akira Shibakawa
@ 2021-10-11 16:47 ` Khem Raj
  2021-10-12  0:46   ` Robert Berger
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2021-10-11 16:47 UTC (permalink / raw)
  To: Akira Shibakawa; +Cc: Patches and discussions about the oe-core layer

On Mon, Oct 11, 2021 at 2:50 AM Akira Shibakawa <arabishi900@gmail.com> 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 ?
>
> thanks
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#156839): https://lists.openembedded.org/g/openembedded-core/message/156839
> Mute This Topic: https://lists.openembedded.org/mt/86232870/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [meta-java] OpneJDK nativesdk recipe
  2021-10-11 16:47 ` [OE-core] " Khem Raj
@ 2021-10-12  0:46   ` Robert Berger
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Berger @ 2021-10-12  0:46 UTC (permalink / raw)
  To: Akira Shibakawa; +Cc: Patches and discussions about the oe-core layer, Khem Raj

Hi,

On 11/10/2021 19:47, Khem Raj wrote:
> On Mon, Oct 11, 2021 at 2:50 AM Akira Shibakawa <arabishi900@gmail.com> 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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-12  0:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  9:49 [meta-java] OpneJDK nativesdk recipe Akira Shibakawa
2021-10-11 16:47 ` [OE-core] " Khem Raj
2021-10-12  0:46   ` Robert Berger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).