#
# Copyright (c) 2012-2015 Texas Instruments Incorporated - http://www.ti.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# * Neither the name of Texas Instruments Incorporated nor the names of
# its contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#
# ======== products.mak ========
#
# look for other products.mak file to override local settings
ifneq (,$(wildcard $(EXBASE)/../products.mak))
include $(EXBASE)/../products.mak
else
ifneq (,$(wildcard $(EXBASE)/../../products.mak))
include $(EXBASE)/../../products.mak/
# Define IPC_INSTALL_DIR since not defined in IPC top-level products.mak
IPC_INSTALL_DIR = $(word 1,$(subst /examples, examples,$(CURDIR)))
endif
endif
# By default, the necessary build variables are found/assigned via
# ../products.mak or ../../products.mak, included above. If you want to
# override these variables, or are building this example without
# ../products.mak or ../../products.mak, uncomment and assign the variables
# below.
DEPOT = /home/user/ti_design
#### Linux toolchain ####
TOOLCHAIN_LONGNAME = arm-linux-gnueabihf
TOOLCHAIN_INSTALL_DIR = /home/user/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf
TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)-
CMEM_INSTALL_DIR = $(DEPOT)/ludev/generate
#### BIOS-side dependencies ####
BIOS_INSTALL_DIR = $(DEPOT)/bios_6_45_01_29
IPC_INSTALL_DIR = $(DEPOT)/ipc_3_42_00_02
XDC_INSTALL_DIR = $(DEPOT)/xdctools_3_32_00_06_core
PDK_INSTALL_DIR = $(DEPOT)/pdk_am57xx_1_0_2
CSL_INSTALL_DIR = $(PDK_INSTALL_DIR)/packages/ti/csl
#### BIOS-side toolchains ####
CCS = /home/user/ti/ccsv6_1_2/ccsv6/tools/compiler
ti.targets.arm.elf.M4 = $(CCS)/ti-cgt-arm_5.2.5
ti.targets.elf.C66 = $(CCS)/ti-cgt-c6000_8.1.0
# Use this goal to print your product variables.
.show:
@echo "HOST TOOLCHAIN_PREFIX = $(TOOLCHAIN_PREFIX)"
@echo "BIOS_INSTALL_DIR = $(BIOS_INSTALL_DIR)"
@echo "IPC_INSTALL_DIR = $(IPC_INSTALL_DIR)"
@echo "XDC_INSTALL_DIR = $(XDC_INSTALL_DIR)"
@echo "ti.targets.arm.elf.M4 = $(ti.targets.arm.elf.M4)"
@echo "ti.targets.elf.C66 = $(ti.targets.elf.C66)"