Makefile 596 Bytes
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4 5 6
#
# Makefile for loongson based machines.
#

obj-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
8
obj-$(CONFIG_PCI) += pci.o
9
obj-$(CONFIG_CPU_LOONGSON2) += dma.o
10 11

#
12
# Serial port support
13 14
#
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
15
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
16
obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
17 18 19 20 21 22

#
# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
# space
#
obj-$(CONFIG_CS5536) += cs5536/
23 24 25 26 27

#
# Suspend Support
#

28
obj-$(CONFIG_SUSPEND) += pm.o