flashwriters: c6657 makefiles updated with new path to CSL libs
[keystone-rtos/mcsdk-tools.git] / writer / nand / 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/nandwriter.obj" \
10 "../nandwriter.cmd" \
11 $(GEN_CMDS__FLAG) \
12 -l"ti.platform.evm6657l.ae66" \
13 -l"ti.csl.ae66" \
14 -l"libc.a" \
15 \r
16 -include ../makefile.init\r
17 \r
18 RM = rm
19 RMDIR = rm -rf
20 \r
21 # All of the sources participating in the build are defined here\r
22 -include sources.mk\r
23 -include subdir_vars.mk\r
24 -include src/subdir_vars.mk\r
25 -include subdir_rules.mk\r
26 -include src/subdir_rules.mk\r
27 -include objects.mk\r
28 \r
29 ifneq ($(MAKECMDGOALS),clean)\r
30 ifneq ($(strip $(S_DEPS)),)\r
31 -include $(S_DEPS)\r
32 endif\r
33 ifneq ($(strip $(S_UPPER_DEPS)),)\r
34 -include $(S_UPPER_DEPS)\r
35 endif\r
36 ifneq ($(strip $(S62_DEPS)),)\r
37 -include $(S62_DEPS)\r
38 endif\r
39 ifneq ($(strip $(C64_DEPS)),)\r
40 -include $(C64_DEPS)\r
41 endif\r
42 ifneq ($(strip $(ASM_DEPS)),)\r
43 -include $(ASM_DEPS)\r
44 endif\r
45 ifneq ($(strip $(CC_DEPS)),)\r
46 -include $(CC_DEPS)\r
47 endif\r
48 ifneq ($(strip $(S55_DEPS)),)\r
49 -include $(S55_DEPS)\r
50 endif\r
51 ifneq ($(strip $(C67_DEPS)),)\r
52 -include $(C67_DEPS)\r
53 endif\r
54 ifneq ($(strip $(CLA_DEPS)),)\r
55 -include $(CLA_DEPS)\r
56 endif\r
57 ifneq ($(strip $(C??_DEPS)),)\r
58 -include $(C??_DEPS)\r
59 endif\r
60 ifneq ($(strip $(CPP_DEPS)),)\r
61 -include $(CPP_DEPS)\r
62 endif\r
63 ifneq ($(strip $(S??_DEPS)),)\r
64 -include $(S??_DEPS)\r
65 endif\r
66 ifneq ($(strip $(C_DEPS)),)\r
67 -include $(C_DEPS)\r
68 endif\r
69 ifneq ($(strip $(C62_DEPS)),)\r
70 -include $(C62_DEPS)\r
71 endif\r
72 ifneq ($(strip $(CXX_DEPS)),)\r
73 -include $(CXX_DEPS)\r
74 endif\r
75 ifneq ($(strip $(C++_DEPS)),)\r
76 -include $(C++_DEPS)\r
77 endif\r
78 ifneq ($(strip $(ASM_UPPER_DEPS)),)\r
79 -include $(ASM_UPPER_DEPS)\r
80 endif\r
81 ifneq ($(strip $(K_DEPS)),)\r
82 -include $(K_DEPS)\r
83 endif\r
84 ifneq ($(strip $(C43_DEPS)),)\r
85 -include $(C43_DEPS)\r
86 endif\r
87 ifneq ($(strip $(INO_DEPS)),)\r
88 -include $(INO_DEPS)\r
89 endif\r
90 ifneq ($(strip $(S67_DEPS)),)\r
91 -include $(S67_DEPS)\r
92 endif\r
93 ifneq ($(strip $(SA_DEPS)),)\r
94 -include $(SA_DEPS)\r
95 endif\r
96 ifneq ($(strip $(S43_DEPS)),)\r
97 -include $(S43_DEPS)\r
98 endif\r
99 ifneq ($(strip $(OPT_DEPS)),)\r
100 -include $(OPT_DEPS)\r
101 endif\r
102 ifneq ($(strip $(PDE_DEPS)),)\r
103 -include $(PDE_DEPS)\r
104 endif\r
105 ifneq ($(strip $(S64_DEPS)),)\r
106 -include $(S64_DEPS)\r
107 endif\r
108 ifneq ($(strip $(C_UPPER_DEPS)),)\r
109 -include $(C_UPPER_DEPS)\r
110 endif\r
111 ifneq ($(strip $(C55_DEPS)),)\r
112 -include $(C55_DEPS)\r
113 endif\r
114 endif\r
115 \r
116 -include ../makefile.defs\r
117 \r
118 # Add inputs and outputs from these tool invocations to the build variables \r
119 EXE_OUTPUTS += \
120 ../bin/nandwriter_evm6657l.out \
121 \r
122 EXE_OUTPUTS__QUOTED += \
123 "../bin/nandwriter_evm6657l.out" \
124 \r
125 \r
126 # All Target\r
127 all: ../bin/nandwriter_evm6657l.out\r
128 \r
129 # Tool invocations\r
130 ../bin/nandwriter_evm6657l.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)\r
131         @echo 'Building target: $@'\r
132         @echo 'Invoking: C6000 Linker'\r
133         "$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --define=_EVMC6657L_ --display_error_number --diag_warning=225 -z -m"../bin/nandwriter_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/release" --reread_libs --warn_sections --xml_link_info="../bin/nandwriter_evm6657l_linkInfo.xml" --rom_model -o "../bin/nandwriter_evm6657l.out" $(ORDERED_OBJS)\r
134         @echo 'Finished building target: $@'\r
135         @echo ' '\r
136 \r
137 # Other Targets\r
138 clean:\r
139         -$(RM) $(EXE_OUTPUTS__QUOTED)\r
140         -$(RM) "src/nandwriter.pp" \r
141         -$(RM) "src/nandwriter.obj" \r
142         -@echo 'Finished clean'\r
143         -@echo ' '\r
144 \r
145 .PHONY: all clean dependents\r
146 .SECONDARY:\r
147 \r
148 -include ../makefile.targets\r
149 \r