2 # Makefile for loongson based machines.
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
7 obj-$(CONFIG_GPIOLIB) += gpio.o
8 obj-$(CONFIG_PCI) += pci.o
13 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
14 loongson-serial-$(CONFIG_SERIAL_8250) := serial.o
15 obj-y += $(loongson-serial-m) $(loongson-serial-y)
16 obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
17 obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
20 # Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
23 obj-$(CONFIG_CS5536) += cs5536/
29 obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o
32 # Big Memory (SWIOTLB) Support
34 obj-$(CONFIG_SWIOTLB) += dma-swiotlb.o