# SPDX-License-Identifier: GPL-2.0 | |
# | |
# Makefile for loongson based machines. | |
# | |
obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \ | |
bonito-irq.o mem.o machtype.o platform.o serial.o | |
obj-$(CONFIG_PCI) += pci.o | |
# | |
# Serial port support | |
# | |
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | |
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o | |
obj-$(CONFIG_LOONGSON_MC146818) += rtc.o | |
# | |
# Suspend Support | |
# | |
obj-$(CONFIG_SUSPEND) += pm.o |