--- zzzz-none-000/linux-2.4.17/arch/mips/mips-boards/generic/Makefile 2001-04-14 03:26:07.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/arch/mips/mips-boards/generic/Makefile 2004-12-02 15:25:07.000000000 +0000 @@ -34,8 +34,18 @@ O_TARGET := mipsboards.o -obj-y := mipsIRQ.o pci.o reset.o display.o init.o \ +obj-y := mipsIRQ.o reset.o display.o init.o \ memory.o printf.o cmdline.o time.o + +export-objs := time.o + + +ifdef CONFIG_PCI +ifndef CONFIG_MIPS_AVALANCHE +obj-y += pci.o +endif +endif + obj-$(CONFIG_REMOTE_DEBUG) += gdb_hook.o include $(TOPDIR)/Rules.make