8510376e59
The pci.c code depends on symbols which are only visible if CONFIG_PCI is selected. Also fixes the following problem on loongson allnoconfig: arch/mips/built-in.o: In function `pcibios_init': pci.c:(.init.text+0x528): undefined reference to `register_pci_controller' arch/mips/built-in.o:(.data+0xc): undefined reference to `loongson_pci_ops' Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Acked-by: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5584/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
29 lines
594 B
Makefile
29 lines
594 B
Makefile
#
|
|
# 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
|
|
obj-$(CONFIG_GPIOLIB) += gpio.o
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
#
|
|
# Serial port support
|
|
#
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_SERIAL_8250) += serial.o
|
|
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
|
|
obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
|
|
|
|
#
|
|
# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
|
|
# space
|
|
#
|
|
obj-$(CONFIG_CS5536) += cs5536/
|
|
|
|
#
|
|
# Suspend Support
|
|
#
|
|
|
|
obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o
|