c66x POST: added makefile, disabled C6678 emac test until CSL is synced
[keystone-rtos/mcsdk-tools.git] / post / evmc6657l / build / makefile
1 ################################################################################\r
2 # Automatically-generated file. Do not edit!\r
3 ################################################################################\r
4 \r
5 \r
6 CG_TOOL_ROOT = $(C6X_GEN_INSTALL_PATH)
7 \r
8 ORDERED_OBJS += \
9 "./src/c6678.obj" \
10 "./src/cpdma.obj" \
11 "./src/evmc665x_emac.obj" \
12 "./src/evmc665x_sgmii.obj" \
13 "./src/gmacsl.obj" \
14 "./src/pa.obj" \
15 "./src/post.obj" \
16 "./src/psc.obj" \
17 "./src/qm.obj" \
18 "../post.cmd" \
19 $(GEN_CMDS__FLAG) \
20 -l"ti.platform.evm6657l.lite.lib" \
21 -l"libc.a" \
22 \r
23 -include ../makefile.init\r
24 \r
25 RM = rm
26 RMDIR = rm -rf
27 \r
28 # All of the sources participating in the build are defined here\r
29 -include sources.mk\r
30 -include subdir_vars.mk\r
31 -include src/subdir_vars.mk\r
32 -include include/subdir_vars.mk\r
33 -include subdir_rules.mk\r
34 -include src/subdir_rules.mk\r
35 -include include/subdir_rules.mk\r
36 -include objects.mk\r
37 \r
38 ifneq ($(MAKECMDGOALS),clean)\r
39 ifneq ($(strip $(S_DEPS)),)\r
40 -include $(S_DEPS)\r
41 endif\r
42 ifneq ($(strip $(S_UPPER_DEPS)),)\r
43 -include $(S_UPPER_DEPS)\r
44 endif\r
45 ifneq ($(strip $(S62_DEPS)),)\r
46 -include $(S62_DEPS)\r
47 endif\r
48 ifneq ($(strip $(C64_DEPS)),)\r
49 -include $(C64_DEPS)\r
50 endif\r
51 ifneq ($(strip $(ASM_DEPS)),)\r
52 -include $(ASM_DEPS)\r
53 endif\r
54 ifneq ($(strip $(CC_DEPS)),)\r
55 -include $(CC_DEPS)\r
56 endif\r
57 ifneq ($(strip $(S55_DEPS)),)\r
58 -include $(S55_DEPS)\r
59 endif\r
60 ifneq ($(strip $(C67_DEPS)),)\r
61 -include $(C67_DEPS)\r
62 endif\r
63 ifneq ($(strip $(CLA_DEPS)),)\r
64 -include $(CLA_DEPS)\r
65 endif\r
66 ifneq ($(strip $(C??_DEPS)),)\r
67 -include $(C??_DEPS)\r
68 endif\r
69 ifneq ($(strip $(CPP_DEPS)),)\r
70 -include $(CPP_DEPS)\r
71 endif\r
72 ifneq ($(strip $(S??_DEPS)),)\r
73 -include $(S??_DEPS)\r
74 endif\r
75 ifneq ($(strip $(C_DEPS)),)\r
76 -include $(C_DEPS)\r
77 endif\r
78 ifneq ($(strip $(C62_DEPS)),)\r
79 -include $(C62_DEPS)\r
80 endif\r
81 ifneq ($(strip $(CXX_DEPS)),)\r
82 -include $(CXX_DEPS)\r
83 endif\r
84 ifneq ($(strip $(C++_DEPS)),)\r
85 -include $(C++_DEPS)\r
86 endif\r
87 ifneq ($(strip $(ASM_UPPER_DEPS)),)\r
88 -include $(ASM_UPPER_DEPS)\r
89 endif\r
90 ifneq ($(strip $(K_DEPS)),)\r
91 -include $(K_DEPS)\r
92 endif\r
93 ifneq ($(strip $(C43_DEPS)),)\r
94 -include $(C43_DEPS)\r
95 endif\r
96 ifneq ($(strip $(INO_DEPS)),)\r
97 -include $(INO_DEPS)\r
98 endif\r
99 ifneq ($(strip $(S67_DEPS)),)\r
100 -include $(S67_DEPS)\r
101 endif\r
102 ifneq ($(strip $(SA_DEPS)),)\r
103 -include $(SA_DEPS)\r
104 endif\r
105 ifneq ($(strip $(S43_DEPS)),)\r
106 -include $(S43_DEPS)\r
107 endif\r
108 ifneq ($(strip $(OPT_DEPS)),)\r
109 -include $(OPT_DEPS)\r
110 endif\r
111 ifneq ($(strip $(PDE_DEPS)),)\r
112 -include $(PDE_DEPS)\r
113 endif\r
114 ifneq ($(strip $(S64_DEPS)),)\r
115 -include $(S64_DEPS)\r
116 endif\r
117 ifneq ($(strip $(C_UPPER_DEPS)),)\r
118 -include $(C_UPPER_DEPS)\r
119 endif\r
120 ifneq ($(strip $(C55_DEPS)),)\r
121 -include $(C55_DEPS)\r
122 endif\r
123 endif\r
124 \r
125 -include ../makefile.defs\r
126 \r
127 # Add inputs and outputs from these tool invocations to the build variables \r
128 EXE_OUTPUTS += \
129 ../bin/post_evm6657l.out \
130 \r
131 EXE_OUTPUTS__QUOTED += \
132 "../bin/post_evm6657l.out" \
133 \r
134 \r
135 # All Target\r
136 all: ../bin/post_evm6657l.out\r
137 \r
138 # Tool invocations\r
139 ../bin/post_evm6657l.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)\r
140         @echo 'Building target: $@'\r
141         @echo 'Invoking: C6000 Linker'\r
142         "$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --define=_EVMC6657L_ --define=C6657 -DSOC_C6657 --display_error_number --diag_warning=225 -z -m"../bin/post_evm6657l.map" -i"$(CG_TOOL_ROOT)/lib" -i"$(CG_TOOL_ROOT)/include" -i"$(PDK_INSTALL_PATH)/ti/platform/evmc6657l/platform_lib/lib/debug" -i"$(PDK_INSTALL_PATH)/ti/csl/lib/c6657/c66" --reread_libs --warn_sections --xml_link_info="../bin/post_evm6657l_linkInfo.xml" --rom_model -o "../bin/post_evm6657l.out" $(ORDERED_OBJS)\r
143         @echo 'Finished building target: $@'\r
144         @echo ' '\r
145 \r
146 # Other Targets\r
147 clean:\r
148         -$(RM) $(EXE_OUTPUTS__QUOTED)\r
149         -$(RM) "src/c6678.pp" "src/cpdma.pp" "src/evmc665x_emac.pp" "src/evmc665x_sgmii.pp" "src/gmacsl.pp" "src/pa.pp" "src/post.pp" "src/psc.pp" "src/qm.pp" \r
150         -$(RM) "src/c6678.obj" "src/cpdma.obj" "src/evmc665x_emac.obj" "src/evmc665x_sgmii.obj" "src/gmacsl.obj" "src/pa.obj" "src/post.obj" "src/psc.obj" "src/qm.obj" \r
151         -@echo 'Finished clean'\r
152         -@echo ' '\r
153 \r
154 .PHONY: all clean dependents\r
155 .SECONDARY:\r
156 \r
157 -include ../makefile.targets\r
158 \r