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