[meta-freescale] meta-java built but packages not added to root file system

Prasant J pj0585 at gmail.com
Wed Feb 20 05:28:03 PST 2013


Hi,

I intend to add java (openjdk) to my imx6 root file system. I was able
to successfully add meta-java layer and build the same, packages were
built but were not added to the root file system. I do not know what
changes to do. Can any one help?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

These are the steps I did to add meta-java:
(in case any one wants to do the same)

- I have read the steps from the following links:
https://github.com/woglinde/meta-java/wiki
https://github.com/woglinde/meta-java

- install the req. native packages:
sudo apt-get install git g++ diffstat texi2html texinfo subversion
chrpath libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev

- cd fsl-community-bsp/sources/

- git clone https://github.com/woglinde/meta-java.git

- modify conf/local.conf: (fsl-community-bsp/build/conf/local.conf)
# Add the following META-JAVA SPECIFIC settings to the top of the
local.conf file:
PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"

PREFERRED_VERSION_openjdk-7-jre = "03b21-2.1.3"
PREFERRED_VERSION_icedtea7-native = "2.1.3"

I wanted openjdk-7, you can change the above 2 lines if you want openjdk-6

- edit conf/bblayers.conf: (fsl-community-bsp/build/conf/bblayers.conf)
add the following line:
${BSPDIR}/sources/meta-java
after meta-oe

- one more step is required here, so that the packages that are build
are added to root file system.

- Now build with bitbake openjdk-7 (or bitbake openjdk-6)


-Pj



More information about the meta-freescale mailing list