DT78xx Linux Kernel Build Targets

The makefile dt78xx.mak is provided to build the Linux kernel with DT78xx-specific customizations, device tree, loadable kernel modules (LKMs), and examples.

The makefile has the following usage:

 

make -f dt78xx.mak [params] <target>

The params argument is optional. Note that if the Data Translation software is installed under the TI SDK directory, then the default values of all parameters in this makefile do not need to be overridden. Possible values for params are as follows:
 

Params

Description

RULES_DIR

Complete path to directory where the TI SDK is installed .

DT78xx_INSTALL_DIR

Complete path to directory where the DT78xx software is installed

  

Possible values for the targets argument are as follows:
 

Target

Description

all

Builds Linux kernel and all loadable kernel modules (LKM), DT78xx-specific LKMs, and examples

clean

Cleans all files generated by the target all

linux

Builds the linux kernel and all LKMs

linux_clean

Cleans all files generated by the target linux

dtmods

All DT78xx-specific LKMs.

dtmods_clean

Cleans all files generated by the target dtmods.

dtexamples

Builds all DT78xx examples.

dtexamples_clean

Cleans all files generated by the target dtexamples.

 

For example, if the TI SDK is installed in the /opt/ti-sdk-am335x-evm-07.00.00.00 directory, use this command to build the linux kernel, all the LKMs, DT7816-specific LKMs, and examples:

 # cd /opt/ti-sdk-am335x-evm-07.00.00.00
 # make -f dt78xx.mak all

The following table lists the build targets and results: 

                              DT78xx Build Targets and Results

Build Targets

Results

linux

board-support/linux-3.12.10-ti2013.12.01/arch/arm/boot/zImage

dt78xx-usbg

board-support/extra-drivers/dt78xx-usb-gadget/g_dt78xx.ko

dt78xx

board-support/extra-drivers/dt78xx/dt78xx.ko

dt7816

board-support/extra-drivers/dt78xx/dt7816/dt7816.ko

board-support/extra-drivers/dt78xx/dt7816/dtb/dt7816.dtb

dt7837

board-support/extra-drivers/dt78xx/dt7837/dt7837.ko

board-support/extra-drivers/dt78xx/dt7837/dtb/dt7837.dtb

Refer to the DT7837 Getting Started help file for more information on using the DT7837.