Firmware for MNT ZZ9000 graphics and ARM coprocessor card for Amiga computers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. ################################################################################
  4. -include ../makefile.init
  5. RM := rm -rf
  6. # All of the sources participating in the build are defined here
  7. -include sources.mk
  8. -include src/usb/subdir.mk
  9. -include src/subdir.mk
  10. -include subdir.mk
  11. -include objects.mk
  12. ifneq ($(MAKECMDGOALS),clean)
  13. ifneq ($(strip $(S_UPPER_DEPS)),)
  14. -include $(S_UPPER_DEPS)
  15. endif
  16. ifneq ($(strip $(C_DEPS)),)
  17. -include $(C_DEPS)
  18. endif
  19. endif
  20. -include ../makefile.defs
  21. # Add inputs and outputs from these tool invocations to the build variables
  22. ELFSIZE += \
  23. ZZ9000OS.elf.size \
  24. # All Target
  25. all: pre-build main-build
  26. # Main-build Target
  27. main-build: ZZ9000OS.elf secondary-outputs
  28. # Tool invocations
  29. ZZ9000OS.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
  30. @echo 'Building target: $@'
  31. @echo 'Invoking: ARM v7 gcc linker'
  32. arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../../zz9000_bsp_new/ps7_cortexa9_0/lib -o "ZZ9000OS.elf" $(OBJS) $(USER_OBJS) $(LIBS)
  33. @echo 'Finished building target: $@'
  34. @echo ' '
  35. ZZ9000OS.elf.size: ZZ9000OS.elf
  36. @echo 'Invoking: ARM v7 Print Size'
  37. arm-none-eabi-size ZZ9000OS.elf |tee "ZZ9000OS.elf.size"
  38. @echo 'Finished building: $@'
  39. @echo ' '
  40. # Other Targets
  41. clean:
  42. -$(RM) $(EXECUTABLES)$(OBJS)$(S_UPPER_DEPS)$(C_DEPS)$(ELFSIZE) ZZ9000OS.elf
  43. -@echo ' '
  44. pre-build:
  45. -a9-linaro-pre-build-step
  46. -@echo ' '
  47. secondary-outputs: $(ELFSIZE)
  48. .PHONY: all clean dependents
  49. .SECONDARY: main-build pre-build
  50. -include ../makefile.targets