DVSDK 3.10 Makefile usage

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Purpose

The DVSDK make system helps users build and install images for different components and platforms. This page describes some of the features and usages of the DVSDK 3.10 main Makefile found in the dvsdk_3_10_##_## directory.

Common usage

host $ make help
host $ make check
host $ make info
host $ make clobber
host $ make everything
host $ make clean
host $ make


host $ make install

Note: The value of EXEC_DIR variable in Rules.make is used as installation directory.

Building Linux kernel

host $ make linux

Note: The path to uImage will be provided at the end of the build stage.

host $ make linux MENUCONFIG=true

This command will open a menuconfig editor and allow you to change kernel configurations.

Note: make does not change .config if already present. Thus, if the kernel configuration has changed, the MENUCONFIG=true option needs to be provided the next time you build; the exception is if it needs to be changed or the configuration needs to be viewed.

host $ make linux_clean

Building individual components

host $ make dmai_clean
host $ make dmai
host $ make dmai_install
host $ make dmai VERBOSE=true

Building PSP examples

This version of DVSDK does not require PSP examples to be installed during installation process. If you need to build PSP examples do the following

host $ tar -xzf examples-davinci.tar.gz -C /home/user/dvsdk
It will untar to a directory /home/user/dvsdk/examples-r37
host $ make psp_examples_clean
host $ make psp_examples
host $ make psp_examples_install

Building/Generating Kernel Modules (KOs)

The make system provides options to clean and build individual kernel modules; consult make help for further details. All the KOs can be build using below command.

host $ make cmem_clean   
host $ make cmem		/* Build cmemk.ko */
host $ make edmak_clean
host $ make edmak		/* Build edmak.ko */
host $ make irqk_clean
host $ make irqk		/* Build irqk.ko */
host $ make dmammapk_clean
host $ make dmammapk		/*  Build dmammapk kernel module e.g dm365mmap.ko */

Note: Kernel Modules (KOs) can be found under $(DVSDK_INSTALL_DIR)/kernel_binaries/$(PLATFORM) directory.

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox