makefile 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. ################################################################################
  4. CG_TOOL_ROOT := /home/ngosh/ti/ccstheia151/ccs/tools/compiler/ti-cgt-armllvm_4.0.0.LTS
  5. GEN_OPTS__FLAG := @"syscfg/device.opt"
  6. GEN_CMDS__FLAG := -Wl,-l"syscfg/device_linker.cmd"
  7. ORDERED_OBJS += \
  8. "./empty_mspm0l1304.o" \
  9. "./syscfg/ti_msp_dl_config.o" \
  10. "./startup_mspm0l130x_ticlang.o" \
  11. "./src/battery_data/battery.o" \
  12. "./src/i2c_comm/mcu_slave_interface.o" \
  13. "./src/interfaces/i2c_hal.o" \
  14. "./src/peripherals/adc/adc.o" \
  15. "./src/peripherals/adc/adc_hal.o" \
  16. $(GEN_CMDS__FLAG) \
  17. -Wl,-ldevice.cmd.genlibs \
  18. -Wl,-llibc.a \
  19. -include ../makefile.init
  20. RM := rm -rf
  21. RMDIR := rm -rf
  22. # All of the sources participating in the build are defined here
  23. -include sources.mk
  24. -include subdir_vars.mk
  25. -include src/battery_data/subdir_vars.mk
  26. -include src/i2c_comm/subdir_vars.mk
  27. -include src/interfaces/subdir_vars.mk
  28. -include src/peripherals/adc/subdir_vars.mk
  29. -include subdir_rules.mk
  30. -include src/battery_data/subdir_rules.mk
  31. -include src/i2c_comm/subdir_rules.mk
  32. -include src/interfaces/subdir_rules.mk
  33. -include src/peripherals/adc/subdir_rules.mk
  34. -include objects.mk
  35. ifneq ($(MAKECMDGOALS),clean)
  36. ifneq ($(strip $(C55_DEPS)),)
  37. -include $(C55_DEPS)
  38. endif
  39. ifneq ($(strip $(C_UPPER_DEPS)),)
  40. -include $(C_UPPER_DEPS)
  41. endif
  42. ifneq ($(strip $(S67_DEPS)),)
  43. -include $(S67_DEPS)
  44. endif
  45. ifneq ($(strip $(S62_DEPS)),)
  46. -include $(S62_DEPS)
  47. endif
  48. ifneq ($(strip $(S_DEPS)),)
  49. -include $(S_DEPS)
  50. endif
  51. ifneq ($(strip $(OPT_DEPS)),)
  52. -include $(OPT_DEPS)
  53. endif
  54. ifneq ($(strip $(C??_DEPS)),)
  55. -include $(C??_DEPS)
  56. endif
  57. ifneq ($(strip $(ASM_UPPER_DEPS)),)
  58. -include $(ASM_UPPER_DEPS)
  59. endif
  60. ifneq ($(strip $(S??_DEPS)),)
  61. -include $(S??_DEPS)
  62. endif
  63. ifneq ($(strip $(C64_DEPS)),)
  64. -include $(C64_DEPS)
  65. endif
  66. ifneq ($(strip $(CXX_DEPS)),)
  67. -include $(CXX_DEPS)
  68. endif
  69. ifneq ($(strip $(S64_DEPS)),)
  70. -include $(S64_DEPS)
  71. endif
  72. ifneq ($(strip $(INO_DEPS)),)
  73. -include $(INO_DEPS)
  74. endif
  75. ifneq ($(strip $(CLA_DEPS)),)
  76. -include $(CLA_DEPS)
  77. endif
  78. ifneq ($(strip $(S55_DEPS)),)
  79. -include $(S55_DEPS)
  80. endif
  81. ifneq ($(strip $(SV7A_DEPS)),)
  82. -include $(SV7A_DEPS)
  83. endif
  84. ifneq ($(strip $(C62_DEPS)),)
  85. -include $(C62_DEPS)
  86. endif
  87. ifneq ($(strip $(C67_DEPS)),)
  88. -include $(C67_DEPS)
  89. endif
  90. ifneq ($(strip $(PDE_DEPS)),)
  91. -include $(PDE_DEPS)
  92. endif
  93. ifneq ($(strip $(K_DEPS)),)
  94. -include $(K_DEPS)
  95. endif
  96. ifneq ($(strip $(C_DEPS)),)
  97. -include $(C_DEPS)
  98. endif
  99. ifneq ($(strip $(CC_DEPS)),)
  100. -include $(CC_DEPS)
  101. endif
  102. ifneq ($(strip $(C++_DEPS)),)
  103. -include $(C++_DEPS)
  104. endif
  105. ifneq ($(strip $(C43_DEPS)),)
  106. -include $(C43_DEPS)
  107. endif
  108. ifneq ($(strip $(S43_DEPS)),)
  109. -include $(S43_DEPS)
  110. endif
  111. ifneq ($(strip $(ASM_DEPS)),)
  112. -include $(ASM_DEPS)
  113. endif
  114. ifneq ($(strip $(S_UPPER_DEPS)),)
  115. -include $(S_UPPER_DEPS)
  116. endif
  117. ifneq ($(strip $(CPP_DEPS)),)
  118. -include $(CPP_DEPS)
  119. endif
  120. ifneq ($(strip $(SA_DEPS)),)
  121. -include $(SA_DEPS)
  122. endif
  123. endif
  124. -include ../makefile.defs
  125. # Add inputs and outputs from these tool invocations to the build variables
  126. EXE_OUTPUTS += \
  127. charge_controller_target_mspm0L1304.out
  128. EXE_OUTPUTS__QUOTED += \
  129. "charge_controller_target_mspm0L1304.out"
  130. # All Target
  131. all: $(OBJS) $(GEN_CMDS)
  132. @$(MAKE) --no-print-directory -Onone "charge_controller_target_mspm0L1304.out"
  133. # Tool invocations
  134. charge_controller_target_mspm0L1304.out: $(OBJS) $(GEN_CMDS)
  135. @echo 'Building target: "$@"'
  136. @echo 'Invoking: Arm Linker'
  137. "/home/ngosh/ti/ccstheia151/ccs/tools/compiler/ti-cgt-armllvm_4.0.0.LTS/bin/tiarmclang" @"syscfg/device.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O0 -flto -gdwarf-3 -Wl,-m"charge_controller_target_mspm0L1304.map" -Wl,--heap_size=0x200 -Wl,-i"/home/ngosh/ti/mspm0_sdk_2_04_00_06/source" -Wl,-i"/home/ngosh/workspace_ccstheia_2/charge_controller_target_mspm0L1304/Debug/syscfg" -Wl,-i"/home/ngosh/ti/ccstheia151/ccs/tools/compiler/ti-cgt-armllvm_4.0.0.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="charge_controller_target_mspm0L1304_linkInfo.xml" -Wl,--rom_model -o "charge_controller_target_mspm0L1304.out" $(ORDERED_OBJS)
  138. @echo 'Finished building target: "$@"'
  139. @echo ' '
  140. # Other Targets
  141. clean:
  142. -$(RM) $(GEN_MISC_FILES__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)
  143. -$(RM) "empty_mspm0l1304.o" "syscfg/ti_msp_dl_config.o" "startup_mspm0l130x_ticlang.o" "src/battery_data/battery.o" "src/i2c_comm/mcu_slave_interface.o" "src/interfaces/i2c_hal.o" "src/peripherals/adc/adc.o" "src/peripherals/adc/adc_hal.o"
  144. -$(RM) "empty_mspm0l1304.d" "syscfg/ti_msp_dl_config.d" "startup_mspm0l130x_ticlang.d" "src/battery_data/battery.d" "src/i2c_comm/mcu_slave_interface.d" "src/interfaces/i2c_hal.d" "src/peripherals/adc/adc.d" "src/peripherals/adc/adc_hal.d"
  145. -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
  146. -@echo 'Finished clean'
  147. -@echo ' '
  148. .PHONY: all clean dependents
  149. .SECONDARY:
  150. -include ../makefile.targets