From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] pi4j: new package
Date: Mon, 13 Jan 2014 16:02:57 +0800 [thread overview]
Message-ID: <20140113160257.472c1ed2@skate> (raw)
In-Reply-To: <CAKi4VAKJukCe-DOS2PrDG1729NMvbFS+znV0_W65S_DkvOyB-A@mail.gmail.com>
Dear Lucas De Marchi,
On Sat, 11 Jan 2014 10:27:41 -0200, Lucas De Marchi wrote:
> > I think this is quite certainly the first Java library for which we
> > have a package. Which JVM are you using to run this on the target? The
> > official Oracle JDK?
>
> I'm using the official Oracle JDK. However I think we are not allowed
> to distribute it or make "recipes" to distribute it as part of
> buildroot, are we? Its license looks really restrictive. My current
> approach for the rootfs I'm building for a friend of mine is to
> install the Oracle jdk by using a overlay directory in buildroot. Do
> you think it would be possible to add the oracle jdk to buildroot?
I haven't looked at the licensing details, but it would be worth
checking this. I know that some time ago, Debian had a package for the
JVM, which was downloading it from Sun (back in the days).
> > Regarding the installation in /opt, I'm not sure. The fact that
> > Raspbian installs it here is not that much of an argument to me (quite
> > the opposite, actually!).
>
> I put it there actually because it's a pre-compiled thing.
Still, my feeling is that /usr/share/java is a better location.
> >> diff --git a/package/pi4j/Config.in b/package/pi4j/Config.in
> >> new file mode 100644
> >> index 0000000..99736bf
> >> --- /dev/null
> >> +++ b/package/pi4j/Config.in
> >> @@ -0,0 +1,10 @@
> >> +config BR2_PACKAGE_PI4J
> >> + bool "pi4j"
> >> + depends on BR2_PACKAGE_RPI_USERLAND
> >
> > Why this dependency?
>
> the same as for wiringpi. This package is specific to rpi and doesn't
> make sense on other platforms.
But you can perfectly use the Rasberry Pi without rpi-userland.
rpi-userland is just the binary blobs for OpenGL and al.
Just make this dependency a dependency on BR2_arm.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-01-13 8:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 19:50 [Buildroot] [PATCH 1/3] wiringpi: new package Lucas De Marchi
2014-01-10 19:50 ` [Buildroot] [PATCH 2/3] psplash: use git repository Lucas De Marchi
2014-01-15 22:18 ` Peter Korsgaard
2014-01-10 19:50 ` [Buildroot] [PATCH 3/3] pi4j: new package Lucas De Marchi
2014-01-11 6:40 ` Thomas Petazzoni
2014-01-11 12:27 ` Lucas De Marchi
2014-01-13 8:02 ` Thomas Petazzoni [this message]
2014-01-11 6:08 ` [Buildroot] [PATCH 1/3] wiringpi: " Thomas Petazzoni
2014-01-11 12:20 ` Lucas De Marchi
2014-03-07 22:52 ` Thomas Petazzoni
2014-04-01 16:55 ` Lucas De Marchi
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=20140113160257.472c1ed2@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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