This is an old revision of the document!
Linux for SC5xx uses Yocto to build and package all the components required for you to install Linux on your development board and build your own applications.
To build the components we first setup the environment for Yocto, telling it what we want to build, then we build the components.
To set up the environment for your sc5xx board:
$ cd ~/yocto $ source setup-environment -m adsp-sc589-ezkit
$ source setup-environment -m <MACHINE> -b <BUILDDIR>
If no option passed to the script, the YOCTO would reuse the build/ dir as your default build environment.
To build your components:
$ bitbake <TARGET>
TARGET
:Remember add “-C compile” option to bitbake if you want to compile and deploy your images at second time.
Other build rules are summarized on the ADI Yocto Metalayer page.
Warning: Your first build will be slow. Yocto will be downloading all the required sources and building all the toolchains required for the creation of your tools. Subsequent builds will be faster.
The build output can be found in the build/tmp/deploy/images/<MACHINE> directory.
PREV: Setting Up The Sources NEXT: Install Linux On The Hardware