Makefile 596 B

1234567891011121314151617181920212223242526272829
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for loongson based machines.
  4. #
  5. obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
  6. bonito-irq.o mem.o machtype.o platform.o serial.o
  7. obj-$(CONFIG_PCI) += pci.o
  8. obj-$(CONFIG_CPU_LOONGSON2) += dma.o
  9. #
  10. # Serial port support
  11. #
  12. obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  13. obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
  14. obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
  15. #
  16. # Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
  17. # space
  18. #
  19. obj-$(CONFIG_CS5536) += cs5536/
  20. #
  21. # Suspend Support
  22. #
  23. obj-$(CONFIG_SUSPEND) += pm.o