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
8obj-$(CONFIG_PCI) += pci.o
9
10#
11# Serial port support
12#
13obj-$(CONFIG_LOONGSON_UART_BASE) += serial.o
14obj-$(CONFIG_EARLY_PRINTK) += serial.o
15obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
16obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
17
18#
19# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
20# space
21#
22obj-$(CONFIG_CS5536) += cs5536/
23
24#
25# Suspend Support
26#
27
28obj-$(CONFIG_SUSPEND) += pm.o
29