root / images / README @ 80fe3189
History | View | Annotate | Download (851 Bytes)
| 1 |
The images directory contains the following: |
|---|---|
| 2 |
- a Makefile for building firmware and fpga images |
| 3 |
- a CMake file for building an images package |
| 4 |
|
| 5 |
The Makefile and build systems for the images are probably Unix specific. |
| 6 |
Its best to build the images on a Unix system with standard build tools. |
| 7 |
The CMake package target will create an images package for your system. |
| 8 |
|
| 9 |
To build the images (unix): |
| 10 |
make clean |
| 11 |
make images |
| 12 |
|
| 13 |
To build the package (unix): |
| 14 |
mkdir build |
| 15 |
cd build |
| 16 |
cmake -DCPACK_GENERATOR=<type> ../ |
| 17 |
make package |
| 18 |
|
| 19 |
The package generator types are described here: |
| 20 |
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators |
| 21 |
|
| 22 |
Fedora note: |
| 23 |
The sdcc binaries are prefixed with "sdcc-" which breaks the build. |
| 24 |
However, /usr/libexec/sdcc contains properly named sdcc binaries. |
| 25 |
export PATH=${PATH}:/usr/libexec/sdcc
|