summaryrefslogtreecommitdiffstats
blob: db1155ce61dc75b4fc86c5b18069e609ff809790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
################################################################################
# Automatically-generated file. Do not edit!
################################################################################


CG_TOOL_ROOT = $(C6X_GEN_INSTALL_PATH)

ORDERED_OBJS += \
"./src/c6678.obj" \
"./src/cpdma.obj" \
"./src/gmacsl.obj" \
"./src/pa.obj" \
"./src/post.obj" \
"./src/psc.obj" \
"./src/qm.obj" \
"../post.cmd" \
$(GEN_CMDS__FLAG) \
-l"ti.platform.evmk2h.lite.lib" \
-l"ti.csl.ae66" \
-l"libc.a" \

-include ../makefile.init

RM = rm -f
RMDIR = rm -rf
MKDIR = mkdir -p

# All of the sources participating in the build are defined here
-include sources.mk
-include subdir_vars.mk
-include src/subdir_vars.mk
-include subdir_rules.mk
-include src/subdir_rules.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(S62_DEPS)),)
-include $(S62_DEPS)
endif
ifneq ($(strip $(C64_DEPS)),)
-include $(C64_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(S55_DEPS)),)
-include $(S55_DEPS)
endif
ifneq ($(strip $(C67_DEPS)),)
-include $(C67_DEPS)
endif
ifneq ($(strip $(CLA_DEPS)),)
-include $(CLA_DEPS)
endif
ifneq ($(strip $(C??_DEPS)),)
-include $(C??_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(S??_DEPS)),)
-include $(S??_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(C62_DEPS)),)
-include $(C62_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(ASM_UPPER_DEPS)),)
-include $(ASM_UPPER_DEPS)
endif
ifneq ($(strip $(K_DEPS)),)
-include $(K_DEPS)
endif
ifneq ($(strip $(C43_DEPS)),)
-include $(C43_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(S67_DEPS)),)
-include $(S67_DEPS)
endif
ifneq ($(strip $(SA_DEPS)),)
-include $(SA_DEPS)
endif
ifneq ($(strip $(S43_DEPS)),)
-include $(S43_DEPS)
endif
ifneq ($(strip $(OPT_DEPS)),)
-include $(OPT_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(S64_DEPS)),)
-include $(S64_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(C55_DEPS)),)
-include $(C55_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
EXE_OUTPUTS += \
../bin/post_evmk2h.out \

EXE_OUTPUTS__QUOTED += \
"../bin/post_evmk2h.out" \


# All Target
all: ../bin/post_evmk2h.out

# Tool invocations
../bin/post_evmk2h.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@echo 'Building target: $@'
	@echo 'Invoking: C6000 Linker'
	@$(MKDIR) ../bin
	"$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --define=SOC_K2H --display_error_number --diag_warning=225 -z -m"../bin/post_evmk2h.map" -i"$(CG_TOOL_ROOT)/lib" -i"$(CG_TOOL_ROOT)/include" -i"$(PDK_INSTALL_PATH)/ti/platform/evmk2h/platform_lib/lib/debug" -i"$(PDK_INSTALL_PATH)/ti/csl/lib/k2h/c66/release" --reread_libs --warn_sections --xml_link_info="../bin/post_evmk2h_linkInfo.xml" --rom_model -o "../bin/post_evmk2h.out" $(ORDERED_OBJS)
	@echo 'Finished building target: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(EXE_OUTPUTS__QUOTED)
	-$(RM) "src/c6678.pp" "src/cpdma.pp" "src/gmacsl.pp" "src/pa.pp" "src/post.pp" "src/psc.pp" "src/qm.pp" 
	-$(RM) "src/c6678.obj" "src/cpdma.obj" "src/gmacsl.obj" "src/pa.obj" "src/post.obj" "src/psc.obj" "src/qm.obj" 
	-@echo 'Finished clean'
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets