Template:Glsdk sdg rebuilding

Rebuilding the SDK components
The installer contains a top level Makefile to allow the re-building of the various components.

Rebuild the SDK components by first entering the SDK directory using:

host $ cd ${INSTALL_DIR}

The installer Makefile has a number of build targets which allows you to rebuild the various components. For a complete list execute:

host $ make help

After that, each of the build targets listed by 'make help' can then be executed using:

host $ make _clean host $ make host $ make _install

For example, to compile the Linux Kernel, you can use the following commands

host $ make linux_clean host $ make linux host $ make linux_install

In order to install the resulting binaries on your target, execute one of the "install" targets. Where the binaries are copied is controlled by the EXEC_DIR variable in ${INSTALL_DIR}/Rules.make. By default, this variable is set up to point to your NFS mounted target file system when you execute the installer setup (setup.sh) script, but can be manually changed to fit your needs.

You can remove all components generated files at any time using:

host $ make clean

And you can rebuild all components using:

host $ make all

You can then install all the resulting target files using:

host $ make install