Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "itodroid" <itodroid@gmail.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Creating an ejre receipe
Date: Tue, 25 Oct 2011 12:23:56 -0700	[thread overview]
Message-ID: <01b901cc934b$a5a00620$f0e01260$@gmail.com> (raw)

Greetings all.  I'm not sure of the frequency of posting to this list, but I
thought I would ask all of you a question regarding creating a recipe for
Oracle/Sun's embedded JRE.  I can't seem to figure out the syntax needed to
create an appropriate recipe for automatically including the ejre in my
image.

Everytime I try to bitbake, my deployment packet (ipk) is < 1000 bytes.  In
other words, I think its empty.  The recipe should simply untar the .tar.gz
file and put it into a format that can be distributed into the sysroot (I'm
picking /usr/java for its destination).  I'd appreciate any
feedback/comments/fixes to the following:

DESCRIPTION = "Oracle/Sun Embedded JRE"
PV = "1.6.0"
PR = "27"
SRC_URI =
"file://ejre-1_6_0_27-fcs-b07-linux-arm-vfp-eabi-headless-18_jul_2011.tar.gz
"

S = "${WORKDIR}"

SRC_URI[md5sum]="b30175c5168e1df394bc79474583f2a3"
SRC_URI[sha256sum]="d8b02bd16c95435d9c460cea060bc10b6eda00a2e8864d6412074903
dd73243c"

do_compile() {
}

do_install() {
  install -d ${D}/usr/java
  cp -R ${S}/ejre${PV}_${PR}/* ${D}/usr/java
}

do_qa_staging() {
}

do_package_qa() {
}

FILES_${PN} = " \
  ${D}/usr/java/* \
"

PACKAGE = ${PN}




             reply	other threads:[~2011-10-25 19:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25 19:23 itodroid [this message]
2011-10-25 19:37 ` Creating an ejre receipe Phil Blundell
2011-10-26  8:06 ` Jaap de Jong
2011-10-27 15:31   ` itodroid

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='01b901cc934b$a5a00620$f0e01260$@gmail.com' \
    --to=itodroid@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox