Makefile 732 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Makefile for loongson based machines.
  3. #
  4. obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
  5. bonito-irq.o mem.o machtype.o platform.o
  6. obj-$(CONFIG_GPIOLIB) += gpio.o
  7. obj-$(CONFIG_PCI) += pci.o
  8. #
  9. # Serial port support
  10. #
  11. obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  12. loongson-serial-$(CONFIG_SERIAL_8250) := serial.o
  13. obj-y += $(loongson-serial-m) $(loongson-serial-y)
  14. obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
  15. obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
  16. #
  17. # Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
  18. # space
  19. #
  20. obj-$(CONFIG_CS5536) += cs5536/
  21. #
  22. # Suspend Support
  23. #
  24. obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o
  25. #
  26. # Big Memory (SWIOTLB) Support
  27. #
  28. obj-$(CONFIG_SWIOTLB) += dma-swiotlb.o