GNU Make Build Process

Back

 

A GNU makefile is also provided for rebuilding IMGLIB via the GNU make utility. This file is located in the packages/ti/imglib folder. The makefile provides a list of all tools, common build utilities and build rules required for generating each IMGLIB kernel, CCS project and IMGLIB binary.

  1. Required Tools
  2. Build Complete IMGLIB Library
  3. Build Individual IMGLIB Kernel

The sections that follow detail each item above.

 

Required Tools

The following tools are required to build IMGLIB using GNU make (links provided). Download and install all tools to a single local (C:) directory, for example, c:\Program Files\Texas Instruments.

Note:
A "My.TI" account is required for download and can be registered at my.ti.com

 

IMGLIB Build Procedure

The IMGLIB may be compiled using GNU make following the procedure below. Note that the first three items are followed by two options, either of which may be used to accomplish the goal.

  1. Add cygwin/bin to the environment PATH (Windows only)
  2. Correct the C6x_GEN_INSTALL_DIR path in the makefile (two options)
    • Directly modify the makefile OR
    • Set the C6x_GEN_INSTALL_DIR in the environment with the proper tools path
  3. Correct the IMGLIB_INSTALL_DIR path in the makefile (two options)
    • Directly modify the makefile OR
    • Set the IMGLIB_INSTALL_DIR in the environment to match the installation path
  4. Correct the CCS_INSTALL_DIR path in the makefile (two options)
    • Directly modify the makefile OR
    • Set the CCS_INSTALL_DIR in the environment to match the installation path.
  5. Build the library
    • Enter make all to build the library and all unitest CCSV4 projects for individual kernels
    • Enter make clean to clean all generated object files and artifacts

 

Copyright 2012, Texas Instruments Incorporated