--- zzzz-none-000/linux-2.4.17/arch/mips/ite-boards/generic/Makefile 2001-09-09 17:43:01.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/arch/mips/ite-boards/generic/Makefile 2004-11-24 13:22:38.000000000 +0000 @@ -21,16 +21,8 @@ obj-y := it8172_rtc.o it8172_setup.o irq.o int-handler.o pmon_prom.o time.o lpc.o puts.o reset.o -ifdef CONFIG_PCI -obj-y += it8172_pci.o -endif - -ifdef CONFIG_IT8172_CIR -obj-y += it8172_cir.o -endif - -ifdef CONFIG_REMOTE_DEBUG - obj-y += dbg_io.o -endif +obj-$(CONFIG_PCI) += it8172_pci.o +obj-$(CONFIG_IT8172_CIR) += it8172_cir.o +obj-$(CONFIG_REMOTE_DEBUG) += dbg_io.o include $(TOPDIR)/Rules.make