All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mihaylov, Emil" <emilmih@gmail.com>
To: Mark Hatle <mark.hatle@windriver.com>, yocto@yoctoproject.org
Subject: Re: oracle-jse-jdk
Date: Thu, 5 May 2016 10:43:08 -0700	[thread overview]
Message-ID: <e83997e2-d496-eaa7-0921-64ef4d669f36@gmail.com> (raw)
In-Reply-To: <fb5c7b87-82bd-f1cd-9070-d99aa4046146@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

hi Mark,

my oracle-jse-jdk_1.7.0.bb

looks like this

-----------------------------------------------

# Automatically choose java package based on target architecture
DEPENDS += "libav gtk+ libxslt libxtst"
def get_java_pkg(d):
        TA = d.getVar('TARGET_ARCH', True)
        if TA == "i586":
                javaPkg = "oracle-jse-jdk-i586"
        elif TA == "x86_64":
                javaPkg = "oracle-jse-jdk-x86-64"
        else:
                raise bb.parse.SkipPackage("The target architecture '%s' 
is not supported by the meta-oracle-java layer" %TA)

        return javaPkg

JAVA_PKG = "${@get_java_pkg(d)}"

require ${JAVA_PKG}.inc

-----------------------------------------

still error

thanks Emil



On 5/5/2016 10:11 AM, Mark Hatle wrote:
> DEPENDS' and the packages associated RDEPENDS.


[-- Attachment #2: Type: text/html, Size: 1560 bytes --]

  reply	other threads:[~2016-05-05 17:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 16:57 oracle-jse-jdk Mihaylov, Emil
2016-05-05 17:11 ` oracle-jse-jdk Mark Hatle
2016-05-05 17:43   ` Mihaylov, Emil [this message]
2016-05-05 18:36     ` oracle-jse-jdk Mark Hatle
2016-05-06  9:10     ` oracle-jse-jdk Maxin B. John
2016-05-06 17:49       ` oracle-jse-jdk Mark Hatle
2016-05-06 19:08         ` oracle-jse-jdk Mihaylov, Emil
2016-05-10 22:30         ` oracle-jse-jdk Mihaylov, Emil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e83997e2-d496-eaa7-0921-64ef4d669f36@gmail.com \
    --to=emilmih@gmail.com \
    --cc=mark.hatle@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.