blob: e526488df6559895f282e6d7b958b8bd81fca7c2 [file] [log] [blame]
Wu Zhangjin85749d22009-07-02 23:26:45 +08001#
2# Makefile for loongson based machines.
3#
4
5obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
Wu Zhangjinc3d8d852009-11-28 14:21:50 +08006 pci.o bonito-irq.o mem.o machtype.o platform.o
Arnaud Patardc197da92010-04-29 11:58:54 +02007obj-$(CONFIG_GENERIC_GPIO) += gpio.o
Wu Zhangjin85749d22009-07-02 23:26:45 +08008
9#
Wu Zhangjinc3d8d852009-11-28 14:21:50 +080010# Serial port support
Wu Zhangjin85749d22009-07-02 23:26:45 +080011#
12obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
Wu Zhangjine8be5282009-10-16 14:17:18 +080013obj-$(CONFIG_SERIAL_8250) += serial.o
Wu Zhangjinc3d8d852009-11-28 14:21:50 +080014obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
Arnaud Patard5df74352010-06-02 00:39:54 +020015obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
Wu Zhangjin22c21002009-11-10 00:06:12 +080016
17#
18# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
19# space
20#
21obj-$(CONFIG_CS5536) += cs5536/
Wu Zhangjinf181bf62009-11-11 14:57:05 +080022
23#
24# Suspend Support
25#
26
27obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o