The SDK is built using the Mentor Sourcery CodeBench Lite (previously called Sourcery G++ Lite)
version of the arm-‐none-‐eabi GCC toolchain. The full list of CodeBench Lite releases is available on this page:
< http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ >
It may be recommended to use Linux as host for SDK build, so please download Linux installer package.
The tarball packages do not include all executables. Install the package under /opt or any other local folder,
and make sure that the PATH environment variable allows accessing these executables used for the build process:
CC = arm-none-eabi-gcc
CXX = arm-none-eabi-g++
AS = arm-none-eabi-as
AR = arm-none-eabi-ar
LN = arm-none-eabi-ld
Example (sh syntax):
$ export PATH=$PATH:<toolchain_install_path>/bin
Source code installation
The SDK source code package can be installed anywhere. It is not recommended to use a Windows unzip program
to extract the sources, as this may result in line endings being automatically converted. Instead, the equivalent command
of Linux should be used.
Example:
$ tar zxvf imx6_platform_sdk_v1.1.0.tgz
Build command
To build the SDK, use the ./tools/build_sdk command.
Note: It is important to run build_sdk from the SDK root directory, not from within the tools directory.
Running make directly
If you want more control, you can run make directly:
$ make target=mx6dq board=smart_device boardrev=a test=caam
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------