Next
Previous
Contents
This chapter describes, how to modify the OE repository to your own needs.
It gives some examples, which should be able to show the user the way
it works.
This chapter describes the steps I did to get a new HW-Target platform for
a pxa based device called "ori" without a touchscreen and without a mouse.
I decided to use a pxa based zaurus as a bases.
Basic configuration
All OE lived starts with bitbake.conf followed by the distro and machine configuration.
To make live easy, I decided to let openzaurus distro as is for the first shot. For
the target machine config I used c7x0 as the basis. Follow the hints listed to get a
machine description for your new target.
- Create a build dir with a correctly configured conf/local.conf dir/file.
- Create a private packages dir with the following subdirs.
- conf, conf/machine
To be used for the machine specific conf files.
- meta
To be used for the image .bb file(s).
- linux
This did not work for the first shot, so I decided to place my
kernel dependend .bb files into openembedded/packages/linux dir.
- Copy and modify the following files.
- Copy openembedded/conf/machine/c7x0.conf to yourPackagesDir/conf/machine/ori.conf
and edit that file. Exchange c7x0 by ori and provide a sufficient description.
Exchange the include lines with the resulting lines described below.
- Copy openembedded/conf/machine/zaurus-clamshell-2.4.conf to
yourPackagesDir/conf/machine/ori-common-2.4.conf
- Copy openembedded/conf/machine/zaurus-clamshell.conf to
yourPackagesDir/conf/machine/ori-common.conf
This chapter describes how to build stuff using the 2.95.3 "sharp" compiler and NOT
the gcc-3.x.y compiler. This allows to user to create e.g. sharprom compatible applications
without build the whole stuff.
Though this is not future proof, it may help in some situations.
- Create a build dir with a correctly configured conf/local.conf.
Choose DISTRO="sharprom-compatible".
- Follow the hints in
section install sharp compiler
if not already done so.
- Enter /usr/local/arm/2.95.3/bin dir and set two links.
ln -s arm-linux-gcc-2.95 arm-linux-gcc
ln -s arm-linux-ld-2.11.2 arm-linux-ld
Important Note : These links have to be removed as long as you want
to work with gcc-3.x.y again.
- Edit openembedded/conf/distro/sharprom-compatible.conf and insert
PATH =+ "/usr/local/arm/2.95.3/bin" (prepend).
Now you may start to build.
Next
Previous
Contents