达芬奇ICETEK-DM6446-EVMS中xdcpaths.mak

来源:互联网 发布:淘宝万斯正品店 编辑:程序博客网 时间:2024/05/17 03:34
#
#  Copyright 2007 by Texas Instruments Incorporated.
#  
#  All rights reserved. Property of Texas Instruments Incorporated.
#  Restricted rights to use, duplicate or disclose this code are
#  granted through contract.
#  
#


#
#  ======== xdcpaths.mak ========
#  definition of XDC paths and commands
#


# You must set these variables to match your environment.  Note that
# BIOS_INSTALL_DIR is only required to build DSP-side servers
# (for multi-core devices) or DSP-side executables (for single core devices).
#CE_INSTALL_DIR = _your_CE_installation_directory_/codec_engine_1_10
#XDC_INSTALL_DIR = _your_XDCTOOLS_installation_directory
#BIOS_INSTALL_DIR = _your_SABIOS_installation_directory/bios_5_31




CE_INSTALL_DIR = /home/davinci/dvevm_1_20/codec_engine_1_10_01
XDC_INSTALL_DIR = /home/davinci/dvevm_1_20/xdc_2_94
BIOS_INSTALL_DIR = /home/davinci/dvevm_1_20/bios_5_31_01






# If you're not building DSP-side content, you should set REQUIRE_BIOS to 0.
REQUIRE_BIOS = 1


ifeq ($(REQUIRE_BIOS), 1)


# BIOS_INSTALL_DIR is the location of your DSP/BIOS installation.
ifeq ($(wildcard $(BIOS_INSTALL_DIR)/packages/ti/bios/package.xdc),)
$(error BIOS_INSTALL_DIR is set to "$(BIOS_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif
endif




# CE_INSTALL_DIR is the location of your Codec Engine.
ifeq ($(wildcard $(CE_INSTALL_DIR)/packages/ti/sdo/ce/package.xdc),)
$(error CE_INSTALL_DIR is set to "$(CE_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif


# XDC_INSTALL_DIR is the location of your XDCTOOLS installation.
ifeq ($(wildcard $(XDC_INSTALL_DIR)/packages/xdc/package.xdc),)
$(error XDC_INSTALL_DIR is set to "$(XDC_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif




# The Codec Engine depends on other packages.  Add the paths to those
# other packages here.
#
# Note that some distributions of the Codec Engine include a directory named
# "cetools" which contains these packages.  If this script detects
# the existence of that directory, it addes the cetools directory only.
ifeq ($(wildcard $(CE_INSTALL_DIR)/cetools), )
# no cetools directory
#XDAIS_INSTALL_DIR     = _your_xDAIS_installation_directory
#DSPLINK_INSTALL_DIR = _your_DSPLink_installation_directory
#CMEM_INSTALL_DIR    = _your_CMEM_installation_directory
#FC_INSTALL_DIR      = _your_FC_installation_directory


XDAIS_INSTALL_DIR     = /home/davinci/dvevm_1_20/xdais_5_10
DSPLINK_INSTALL_DIR = /home/davinci/dvevm_1_20/dsplink_1_30_08_02
CMEM_INSTALL_DIR    = /home/davinci/dvevm_1_20/cmem_1_02
FC_INSTALL_DIR      = /home/davinci/dvevm_1_20/framework_components_1_10_04




# more validation, just to be sure...
ifeq ($(wildcard $(XDAIS_INSTALL_DIR)/packages/ti/xdais/package.xdc),)
$(error XDAIS_INSTALL_DIR is set to "$(XDAIS_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif


ifeq ($(wildcard $(DSPLINK_INSTALL_DIR)/packages/dsplink/gpp/package.xdc),)
$(error DSPLINK_INSTALL_DIR is set to "$(DSPLINK_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif


ifeq ($(wildcard $(CMEM_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/package.xdc),)
$(error CMEM_INSTALL_DIR is set to "$(CMEM_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif


ifeq ($(wildcard $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc),)
$(error FC_INSTALL_DIR is set to "$(FC_INSTALL_DIR)", which is invalid.  Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.)
endif




MISC_PACKAGES = $(XDAIS_INSTALL_DIR)/packages;$(DSPLINK_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages/;$(FC_INSTALL_DIR)/packages
else
MISC_PACKAGES = $(CE_INSTALL_DIR)/cetools/packages
endif




# XDC_PATH is a semi-colon seperated list of package repositories.  To
# build this example, it needs to include:
#  * Codec Engine examples repository
#  * Codec Engine repository ($(CE_INSTALL_DIR)/packages)
#  * Codec Engine tools repository ($(CE_INSTALL_DIR)/cetools/packages)
#  * BIOS repository ($(BIOS_INSTALL_DIR)/packages), if BIOS_INSTALL_DIR is set


XDC_PATH := $(CE_INSTALL_DIR)/packages;$(MISC_PACKAGES)


ifeq ($(REQUIRE_BIOS), 1)
    # if BIOS_INSTALL_DIR is set, add it to the XDC_PATH
    XDC_PATH := $(XDC_PATH);$(BIOS_INSTALL_DIR)/packages
endif
#
#  @(#) codec_engine_1_10_01; 1,0,0,197; 4-20-2007 13:16:16; /db/atree/library/trees/ce-e10x/src/
#

0 0
原创粉丝点击