Permalink
Browse files

README.md fixes... again

  • Loading branch information...
mlouiset committed Sep 11, 2014
1 parent 176f977 commit d405b9a36941bd45a15d975ff7f82b803053534d
Showing with 21 additions and 27 deletions.
  1. +21 −27 README.md
View
@@ -55,19 +55,19 @@ It requires a few configuration in order to run:
Define APU building environment:
--------------------------------
- Define APU_HOME environment variable (for instance in your .bashrc file)
- Define APU_HOME environment variable (for instance in your .bashrc file)
```sh
export APU_HOME=/usr/local/src/ong/dev-tools/apu-tools/
```
- Add APU_HOME to your PATH
- Add APU_HOME to your PATH
```sh
export PATH=$PATH:$APU_HOME
```
- Create a folder so called ".apu" in your homedir
- Create a folder so called ".apu" in your homedir
```sh
$ mkdir $HOME/.apu/
```
- and add file $HOME/.apu/apu-tools.conf with following content:
- and add file $HOME/.apu/apu-tools.conf with following content:
```sh
@@ -78,7 +78,7 @@ HOST_ARCH="x86"
NEXUS_BASE=http://$NEXUS_SRV_ADDR:$NEXUS_SRV_PORT/nexus
```
- Don't forget to source your .bashrc file if you've changed it.
- Don't forget to source your .bashrc file if you've changed it.
Compiling for CentOs:
=====================
@@ -95,28 +95,26 @@ Cross-compiling for Raspberry Pi B (rpib):
------------------------------------------
Toolchain to use is provided with "poky-eglibc-i686-arm-toolchain-1.4.1.sh",
for Raspberry Pi B
1. install the toolchain in $HOME/toolchains/poky/1.4.1/
2. Create the path $HOME/.apu/toolchains/org/yoctoproject/toolchain-poky-eglibc-arm/1.4.1/
- Install the toolchain in $HOME/toolchains/poky/1.4.1/
- Create the path $HOME/.apu/toolchains/org/yoctoproject/toolchain-poky-eglibc-arm/1.4.1/
and add file toolchain.cfg in it, with the following content:
```sh
export TOOLCHAIN_HOME=$HOME/toolchains/poky/1.4.1/
export PATH=$TOOLCHAIN_HOME/sysroots/i686-pokysdk-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:$PATH
```
3. Go to the source directory:
- Go to the source directory:
```sh
$ cd /usr/local/src/ong/targets/target-cross-rpib
```
4. Generate the APU file:
- Generate the APU file:
```sh
$ apu-make install noarch
```
5. Install the APU file:
- Install the APU file:
```sh
$ apu-make install-target rpib
```
6. Then, you can build the ONG for rpbi
- Then, you can build the ONG for rpbi
```sh
$ cd /usr/local/src/ong/
$ ./build_ong.sh rpib
@@ -126,29 +124,27 @@ $ ./build_ong.sh rpib
Cross-compiling for "Connected Object" v2 (cov2):
-------------------------------------------------
Toolchain to use is provided with "gcc_4.5.1.tar.bz2", for ARM 920T
1. Install the toolchain in $HOME/toolchains/cov2/4.5.1/
2. Create the path
- Install the toolchain in $HOME/toolchains/cov2/4.5.1/
- Create the path
$HOME/.apu/toolchains/com/actility/m2m/toolchain-arm-none-linux-gnueabi/4.5.1/
and add file toolchain.cfg in it, with the following content:
```sh
export TOOLCHAIN_HOME=$HOME/toolchains/cov2/4.5.1/
export PATH=$TOOLCHAIN_HOME/bin:$PATH
```
3. Go to the source directory:
- Go to the source directory:
```sh
$ cd /usr/local/src/ong/targets/target-cross-cov2
```
4. Generate the APU file:
- Generate the APU file:
```sh
$ apu-make install noarch
```
5. Install the APU file:
- Install the APU file:
```sh
$ apu-make install-target cov2
```
6. Then, you can build the ONG for cov2
- Then, you can build the ONG for cov2
```sh
$ cd /usr/local/src/ong/
$ ./build_ong.sh cov2
@@ -159,25 +155,23 @@ Cross-compiling for centos6-x86 under centos6-x86_64:
-----------------------------------------------------
You may also want to install a 64bits OS, but need to cross-compile for 32bits target.
To do that, you'll need to generate and install the target-cross-centos6-x86 APU:
1. Go to the source directory:
- Go to the source directory:
```sh
$ cd /usr/local/src/ong/targets/target-cross-centos6-x86
```
2. Generate the APU file:
- Generate the APU file:
```sh
$ apu-make install noarch
```
3. Install the APU file:
- Install the APU file:
```sh
$ apu-make install-target cross-centos6-x86
```
4. Then, you can build the ONG for centos6-x86
- Then, you can build the ONG for centos6-x86
```sh
$ cd /usr/local/src/ong/
$ ./build_ong.sh centos6-x86
```

0 comments on commit d405b9a

Please sign in to comment.