|
|
A Yocto SDK toolchain is provided to permit development of custom tools on the ACME pre-built images.
|
|
|
|
|
|
To install the SDK, run:
|
|
|
|
|
|
```
|
|
|
$ sh acme-baylibre-glibc-x86_64-baylibre-acme-image-cortexa8hf-neon-toolchain-2.1.2.sh
|
|
|
Poky (Yocto Project Reference Distro) SDK installer version 2.1.2
|
|
|
=================================================================
|
|
|
Enter target directory for SDK (default: /opt/acme-baylibre/2.1.2):
|
|
|
You are about to install the SDK to "/opt/acme-baylibre/2.1.2". Proceed[Y/n]?
|
|
|
Extracting SDK...................................done
|
|
|
Setting it up...done
|
|
|
SDK has been successfully set up and is ready to be used.
|
|
|
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
|
|
|
$ . /opt/acme-baylibre/2.1.2/environment-setup-cortexa8hf-neon-poky-linux-gnueabi
|
|
|
```
|
|
|
|
|
|
Then when building code, you should source the following script:
|
|
|
|
|
|
```
|
|
|
$ . /opt/acme-baylibre/2.1.2/environment-setup-cortexa8hf-neon-poky-linux-gnueabi
|
|
|
```
|
|
|
|
|
|
Then to build a C code:
|
|
|
|
|
|
```
|
|
|
$ $CC myfile.c -o myfile
|
|
|
```
|
|
|
|
|
|
Or to build a autotools backed project:
|
|
|
|
|
|
```
|
|
|
$ ./configure ${CONFIGURE_FLAGS}
|
|
|
$ make
|
|
|
```
|
|
|
|
|
|
For content on Host (x86-64) packages, please refer to the file:
|
|
|
|
|
|
```
|
|
|
acme-baylibre-glibc-x86_64-baylibre-acme-image-cortexa8hf-neon-toolchain-2.1.2.host.manifest
|
|
|
```
|
|
|
|
|
|
And content on Target (armv7hf-neon), please refer to the file:
|
|
|
|
|
|
```
|
|
|
acme-baylibre-glibc-x86_64-baylibre-acme-image-cortexa8hf-neon-toolchain-2.1.2.target.manifest
|
|
|
```
|
|
|
|
|
|
For more informations, please refer to:
|
|
|
http://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html |
|
|
\ No newline at end of file |