/boards/rdk-s2e/boot_eth/Makefile

https://github.com/hrshygoodness/Luminary-Micro-Library · Makefile · 96 lines · 33 code · 10 blank · 53 comment · 0 complexity · fe1e5a5e762b019d858ae3cc788f208a MD5 · raw file

  1. #******************************************************************************
  2. #
  3. # Makefile - Rules for building the Ethernet Boot Loader.
  4. #
  5. # Copyright (c) 2008-2013 Texas Instruments Incorporated. All rights reserved.
  6. # Software License Agreement
  7. #
  8. # Texas Instruments (TI) is supplying this software for use solely and
  9. # exclusively on TI's microcontroller products. The software is owned by
  10. # TI and/or its suppliers, and is protected under applicable copyright
  11. # laws. You may not combine this software with "viral" open-source
  12. # software in order to form a larger program.
  13. #
  14. # THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
  15. # NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
  16. # NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. # A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
  18. # CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
  19. # DAMAGES, FOR ANY REASON WHATSOEVER.
  20. #
  21. # This is part of revision 10636 of the RDK-S2E Firmware Package.
  22. #
  23. #******************************************************************************
  24. #
  25. # Defines the part type that this project uses.
  26. #
  27. PART=LM3S101
  28. #
  29. # The base directory for StellarisWare.
  30. #
  31. ROOT=../../..
  32. #
  33. # Include the common make definitions.
  34. #
  35. include ${ROOT}/makedefs
  36. #
  37. # Where to find source files that do not live in this directory.
  38. #
  39. VPATH=../../../boot_loader
  40. #
  41. # Where to find header files that do not live in the source directory.
  42. #
  43. IPATH=.
  44. IPATH+=../../..
  45. IPATH+=../../../boot_loader
  46. #
  47. # The default rule, which causes the Ethernet Boot Loader to be built.
  48. #
  49. all: ${COMPILER}
  50. all: ${COMPILER}/boot_eth.axf
  51. #
  52. # The rule to clean out all the build products.
  53. #
  54. clean:
  55. @rm -rf ${COMPILER} ${wildcard *~}
  56. #
  57. # The rule to create the target directory.
  58. #
  59. ${COMPILER}:
  60. @mkdir -p ${COMPILER}
  61. #
  62. # Rules for building the Ethernet Boot Loader.
  63. #
  64. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_autobaud.o
  65. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_can.o
  66. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_check.o
  67. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_decrypt.o
  68. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_enet.o
  69. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_flash.o
  70. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_i2c.o
  71. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_main.o
  72. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_packet.o
  73. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_ssi.o
  74. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_startup_${COMPILER}.o
  75. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_uart.o
  76. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_usb.o
  77. ${COMPILER}/boot_eth.axf: ${COMPILER}/bl_usbfuncs.o
  78. ${COMPILER}/boot_eth.axf: ../../../boot_loader/bl_link.ld
  79. SCATTERgcc_boot_eth=../../../boot_loader/bl_link.ld
  80. ENTRY_boot_eth=ResetISR
  81. #
  82. # Include the automatically generated dependency files.
  83. #
  84. ifneq (${MAKECMDGOALS},clean)
  85. -include ${wildcard ${COMPILER}/*.d} __dummy__
  86. endif