Project

General

Profile

Building TI Linux SDK and IPC examples on Linux SDK 903 » products.mak

Job Sava, 07/09/2025 06:12 PM

 
1
#
2
#   Copyright (c) 2012-2018 Texas Instruments Incorporated - http://www.ti.com
3
#
4
#   Redistribution and use in source and binary forms, with or without
5
#   modification, are permitted provided that the following conditions
6
#   are met:
7
#
8
#   *  Redistributions of source code must retain the above copyright
9
#      notice, this list of conditions and the following disclaimer.
10
#
11
#   *  Redistributions in binary form must reproduce the above copyright
12
#      notice, this list of conditions and the following disclaimer in the
13
#      documentation and/or other materials provided with the distribution.
14
#
15
#   *  Neither the name of Texas Instruments Incorporated nor the names of
16
#      its contributors may be used to endorse or promote products derived
17
#      from this software without specific prior written permission.
18
#
19
#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
#   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21
#   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22
#   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
23
#   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24
#   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25
#   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26
#   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27
#   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28
#   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
29
#   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
#
31
#  ======== products.mak ========
32
#
33

    
34
# Note that these variables can be explicitly set here or on the command line.
35
# If you want to use variables in the environment, see the GNU make manual's
36
# -e option:  http://www.gnu.org/software/make/manual/make.html#Environment
37

    
38
# Optional: recommended to install all dependent components in one folder.
39
#
40
DEPOT = $(TI_SDK_PATH)
41

    
42
# Platform to build for
43
#   Supported platforms (choose one):
44
#       OMAPL138, OMAP54XX, DRA7XX, 66AK2G, 66AK2E, TCI6630, TCI6636, TCI6638,
45
#       TDA3XX, AM65XX
46
#
47
# Note, this is used for Linux, QNX and BIOS builds
48
#
49
PLATFORM =
50

    
51
# Destination when installing the built binaries
52
#
53
# Note, this is used for Linux (if you use ipc-linux.mak to run the
54
# configure command), QNX and BIOS.
55
#
56
DESTDIR =
57

    
58

    
59
#################### IPC Linux ####################
60

    
61
# Set up required cross compiler path for IPC Linux configuration and build
62
#
63
TOOLCHAIN_LONGNAME = arm-oe-linux-gnueabi
64
TOOLCHAIN_INSTALL_DIR = $(DEPOT)/linux-devkit/sysroots/x86_64-arago-linux/usr/
65
TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/arm-oe-linux-gnueabi/$(TOOLCHAIN_LONGNAME)-
66

    
67
# Path to Linux Kernel - needed to build the IPC user libraries
68
#
69
KERNEL_INSTALL_DIR =
70

    
71
# Optional: Specify the Address Family for RPMSG. This value is specified
72
# either from the Linux kernel specified by KERNEL_INSTALL_DIR above, or
73
# the make variable AF_RPMSG below. Do not use both.
74
#
75
AF_RPMSG =
76

    
77
# Optional: Path to DRM Library
78
#
79
DRM_PREFIX =
80

    
81
# Optional: Path to TI Linux Utils product
82
#
83
CMEM_INSTALL_DIR =
84

    
85

    
86
#################### IPC QNX ####################
87

    
88
# Path to QNX tools installation
89
#
90
QNX_INSTALL_DIR =
91

    
92
# Optional: Any additional compile options
93
#
94
QNX_CFLAGS =
95

    
96
#################### IPC Bios ####################
97

    
98
# Path to required dependencies for IPC BIOS builds
99
#
100
XDC_INSTALL_DIR = $(TI_RTOS_PATH)/xdctools_3_55_02_22_core
101
BIOS_INSTALL_DIR = $(TI_RTOS_PATH)/bios_6_76_03_01
102
PDK_INSTALL_DIR = ${PDK_INSTALL_PATH}
103

    
104
# Do you want to build SMP-enabled libraries (if supported for your target)?
105
# Set to either 0 (disabled) or 1 (enabled)
106
#
107
BIOS_SMPENABLED=1
108

    
109
# Path to various cgtools
110
#
111
ti.targets.elf.C64P =
112
ti.targets.elf.C64T =
113
ti.targets.elf.C66   = $(TI_RTOS_PATH)/ti-cgt-c6000_8.3.2
114
ti.targets.elf.C674 =
115

    
116
ti.targets.arm.elf.Arm9 =
117
ti.targets.arm.elf.A8F =
118
ti.targets.arm.elf.A8Fnv =
119
ti.targets.arm.elf.M3 =
120
ti.targets.arm.elf.M4 = $(TI_RTOS_PATH)/ti-cgt-arm_18.12.5.LTS
121
ti.targets.arm.elf.M4F =
122
ti.targets.arm.elf.R5F =
123

    
124
ti.targets.arp32.elf.ARP32 =
125
ti.targets.arp32.elf.ARP32_far =
126

    
127
gnu.targets.arm.A8F =
128
gnu.targets.arm.A15F = $(TI_RTOS_PATH)/gcc-arm-none-eabi-7-2018-q2-update
129
gnu.targets.arm.A53F =
(1-1/2) Go to top
Add picture from clipboard (Maximum size: 1 GB)