Build the CDC Java runtime environment for the target system:
% make CVM_TARGET_TOOLS_PREFIX=<prefix> \
JDK_HOME=<prefix> \
J2ME_CLASSLIB=foundation
When the build is complete, the target files are located in the target build directory and, by default, includes many
temporary build files and directories that are not specifically needed for the CDC Java runtime environment.
The important target files and directories are:
To direct the CDC build system to generate these files in a separate directory
use the CVM_BUILD_SUBDIR_NAME macro.
For example,
CVM_BUILD_SUBDIR_NAME=cdc
generates the target files in a directory named cdc.
Other build options like CVM_DEBUG and CVM_JIT
are described in the rest of the phoneME Advanced Getting Started Guide,
the CDC Build System Guide
(see Chapter 5) and the build file cdc/build/share/top.mk.