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