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