Makefile.aurix 677 B

12345678910111213141516171819202122232425
  1. VPATH += :$(HALPATH)/aurix
  2. SRC += aurix_hal.c aurix_hal_sys.c
  3. ASRC += crt0-tc2x.S
  4. EXTRAINCDIRS += $(HALPATH)/aurix
  5. CC = tricore-gcc
  6. OBJCOPY = tricore-objcopy
  7. OBJDUMP = tricore-objdump
  8. SIZE = tricore-size
  9. AR = tricore-ar rcs
  10. NM = tricore-nm
  11. #Output Format = Binary for this target
  12. FORMAT = binary
  13. CFLAGS += -fno-common -fshort-double -mcpu=tc23xx -mversion-info
  14. CPPFLAGS += -fno-common -fshort-double -mcpu=tc23xx -mversion-info
  15. ASFLAGS += -Wa,--gdwarf-2 -mcpu=tc23xx -Wa,--insn32-preferred
  16. CDEFS += -DTRIBOARD_TC233A
  17. CPPDEFS += -DTRIBOARD_TC233A
  18. LDFLAGS += -nocrt0 -Wl,--mem-holes -Wl,--no-warn-flags -Wl,--cref -fshort-double -Wl,-n -T $(HALPATH)/aurix/LinkerScript.ld