1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for loongson based machines.
4#
5
6obj-y += setup.o init.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_LOONGSON_UART_BASE) += uart_base.o
14obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
15
16#
17# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
18# space
19#
20obj-$(CONFIG_CS5536) += cs5536/
21
22#
23# Suspend Support
24#
25
26obj-$(CONFIG_SUSPEND) += pm.o
27