2016-11-09 18:14:35 +01:00
|
|
|
Build instuctions:
|
|
|
|
|
2016-11-09 18:37:17 +01:00
|
|
|
At the time of 'make', you must have a valid Traveler configuration instantiated
|
|
|
|
in the NuttX directory. This is because the build will depend on certain
|
|
|
|
configurations (such as color format).
|
|
|
|
|
2016-11-09 20:16:33 +01:00
|
|
|
1. cd nuttx/tools
|
|
|
|
./configure.sh sim/traveler (for example)
|
|
|
|
2. cd ..
|
|
|
|
tools/sethost.sh -w or -l
|
|
|
|
make context
|
2016-11-09 18:37:17 +01:00
|
|
|
|
2016-11-10 18:42:37 +01:00
|
|
|
Prepare some header files. This is necessary because we must use ALL of the
|
|
|
|
toolchain header files except for a few files from nuttx (for example,
|
|
|
|
config.h).
|
2016-11-09 21:12:21 +01:00
|
|
|
|
2016-11-10 18:42:37 +01:00
|
|
|
3. cd apps/graphics/traveler/tools/nuttx
|
2016-11-09 21:12:21 +01:00
|
|
|
4. make TOPDIR=<nuttx directory>
|
|
|
|
|
2016-11-10 18:42:37 +01:00
|
|
|
Build the world library:
|
|
|
|
|
|
|
|
5. cd apps/graphics/traveler/tools/libwld
|
|
|
|
6. make
|
|
|
|
|
2016-11-09 18:37:17 +01:00
|
|
|
Then you can use xmfmk to create the Makefile and build the tool:
|
|
|
|
|
2016-11-10 18:42:37 +01:00
|
|
|
7. cd apps/graphics/traveler/tools/tcledit
|
|
|
|
8. Review Imakefile. You will probabaly to to change the APPDIR and TOPDIR paths
|
2016-11-09 20:16:33 +01:00
|
|
|
a minimum. These are the paths to where you have clones the apps/ repository
|
|
|
|
and the nuttx/ repositories, respectively.
|
2016-11-10 18:42:37 +01:00
|
|
|
9. xmfmk
|
|
|
|
10. make
|
2016-11-09 20:16:33 +01:00
|
|
|
|
2016-11-09 18:37:17 +01:00
|
|
|
|
2016-11-09 18:14:35 +01:00
|
|
|
|