[yocto] oracle-jse-jdk

Mihaylov, Emil emilmih at gmail.com
Thu May 5 10:43:08 PDT 2016


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160505/d37a8e26/attachment.html>


More information about the yocto mailing list