From dd08da88e868d9c8b4b2078c349890dc12b2cb08 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 22 Jun 2003 02:14:48 +0000 Subject: [PATCH] Clean Makefiles from unused files and other old junk. --- arch/mips/galileo-boards/ev64120/Makefile | 2 +- arch/mips/galileo-boards/ev96100/Makefile | 3 +-- arch/mips/gt64120/common/Makefile | 2 +- arch/mips/gt64120/momenco_ocelot/Makefile | 4 ++-- arch/mips/ite-boards/generic/Makefile | 8 ++++---- arch/mips/lasat/Makefile | 16 ++++++---------- arch/mips/mips-boards/generic/Makefile | 5 ++--- arch/mips/momentum/ocelot_c/Makefile | 6 +++--- arch/mips/momentum/ocelot_g/Makefile | 6 +++--- 9 files changed, 23 insertions(+), 29 deletions(-) diff --git a/arch/mips/galileo-boards/ev64120/Makefile b/arch/mips/galileo-boards/ev64120/Makefile index 0d85f430432..2a68ef993ce 100644 --- a/arch/mips/galileo-boards/ev64120/Makefile +++ b/arch/mips/galileo-boards/ev64120/Makefile @@ -7,6 +7,6 @@ # obj-y := serialGT.o int-handler.o promcon.o reset.o setup.o irq.o \ - irq-handler.o i2o.o pci_bios.o + irq-handler.o EXTRA_AFLAGS := $(CFLAGS) diff --git a/arch/mips/galileo-boards/ev96100/Makefile b/arch/mips/galileo-boards/ev96100/Makefile index f62a436bb05..1dfe5aa74b0 100644 --- a/arch/mips/galileo-boards/ev96100/Makefile +++ b/arch/mips/galileo-boards/ev96100/Makefile @@ -6,7 +6,6 @@ # Makefile for the Galileo EV96100 board. # -obj-y := init.o pci_ops.o pci_fixups.o time.o irq.o int-handler.o setup.o \ - puts.o +obj-y += init.o time.o irq.o int-handler.o setup.o puts.o EXTRA_AFLAGS := $(CFLAGS) diff --git a/arch/mips/gt64120/common/Makefile b/arch/mips/gt64120/common/Makefile index d4d88d7a196..1f85835aeae 100644 --- a/arch/mips/gt64120/common/Makefile +++ b/arch/mips/gt64120/common/Makefile @@ -2,4 +2,4 @@ # Makefile for common code of gt64120-based boards. # -obj-y := gt_irq.o pci.o +obj-y += gt_irq.o diff --git a/arch/mips/gt64120/momenco_ocelot/Makefile b/arch/mips/gt64120/momenco_ocelot/Makefile index 6cb4ee49632..7b59c6567c7 100644 --- a/arch/mips/gt64120/momenco_ocelot/Makefile +++ b/arch/mips/gt64120/momenco_ocelot/Makefile @@ -2,8 +2,8 @@ # Makefile for Momentum's Ocelot board. # -obj-y += int-handler.o irq.o pci.o prom.o reset.o setup.o +obj-y += int-handler.o irq.o prom.o reset.o setup.o -obj-$(CONFIG_KGDB) += dbg_io.o +obj-$(CONFIG_KGDB) += dbg_io.o EXTRA_AFLAGS := $(CFLAGS) diff --git a/arch/mips/ite-boards/generic/Makefile b/arch/mips/ite-boards/generic/Makefile index d4d76f7624c..0e7853f4398 100644 --- a/arch/mips/ite-boards/generic/Makefile +++ b/arch/mips/ite-boards/generic/Makefile @@ -6,10 +6,10 @@ # Makefile for the ITE 8172 (qed-4n-s01b) board, generic files. # -obj-y := it8172_setup.o irq.o int-handler.o pmon_prom.o time.o lpc.o puts.o reset.o +obj-y += it8172_setup.o irq.o int-handler.o pmon_prom.o \ + time.o lpc.o puts.o reset.o -obj-$(CONFIG_PCI) += it8172_pci.o -obj-$(CONFIG_IT8172_CIR) += it8172_cir.o -obj-$(CONFIG_KGDB) += dbg_io.o +obj-$(CONFIG_IT8172_CIR)+= it8172_cir.o +obj-$(CONFIG_KGDB) += dbg_io.o EXTRA_AFLAGS := $(CFLAGS) diff --git a/arch/mips/lasat/Makefile b/arch/mips/lasat/Makefile index 9d76ea2a38c..0d5aec43672 100644 --- a/arch/mips/lasat/Makefile +++ b/arch/mips/lasat/Makefile @@ -2,17 +2,13 @@ # Makefile for the LASAT specific kernel interface routines under Linux. # -obj-y := reset.o setup.o prom.o lasat_board.o \ - at93c.o interrupt.o lasatIRQ.o +obj-y += reset.o setup.o prom.o lasat_board.o \ + at93c.o interrupt.o lasatIRQ.o -obj-$(CONFIG_LASAT_SYSCTL) += sysctl.o - -obj-$(CONFIG_DS1603) += ds1603.o - -obj-$(CONFIG_PICVUE) += picvue.o -obj-$(CONFIG_PICVUE_PROC) += picvue_proc.o - -obj-$(CONFIG_PCI) += pci.o +obj-$(CONFIG_LASAT_SYSCTL) += sysctl.o +obj-$(CONFIG_DS1603) += ds1603.o +obj-$(CONFIG_PICVUE) += picvue.o +obj-$(CONFIG_PICVUE_PROC) += picvue_proc.o clean: make -C image clean diff --git a/arch/mips/mips-boards/generic/Makefile b/arch/mips/mips-boards/generic/Makefile index ae62f70268c..105b1abad3a 100644 --- a/arch/mips/mips-boards/generic/Makefile +++ b/arch/mips/mips-boards/generic/Makefile @@ -18,11 +18,10 @@ # Makefile for the MIPS boards generic routines under Linux. # -obj-y := mipsIRQ.o reset.o display.o init.o \ - memory.o printf.o cmdline.o +obj-y := mipsIRQ.o reset.o display.o init.o memory.o \ + printf.o cmdline.o obj-$(CONFIG_MIPS_ATLAS) += time.o obj-$(CONFIG_MIPS_MALTA) += time.o -obj-$(CONFIG_PCI) += pci.o obj-$(CONFIG_KGDB) += gdb_hook.o EXTRA_AFLAGS := $(CFLAGS) diff --git a/arch/mips/momentum/ocelot_c/Makefile b/arch/mips/momentum/ocelot_c/Makefile index 6f6200fc06f..ced03d01b74 100644 --- a/arch/mips/momentum/ocelot_c/Makefile +++ b/arch/mips/momentum/ocelot_c/Makefile @@ -2,7 +2,7 @@ # Makefile for Momentum Computer's Ocelot-C and -CS boards. # -obj-y += mv-irq.o cpci-irq.o uart-irq.o int-handler.o irq.o -obj-y += pci-irq.o pci.o prom.o reset.o setup.o +obj-y += mv-irq.o cpci-irq.o uart-irq.o int-handler.o irq.o \ + pci-irq.o prom.o reset.o setup.o -obj-$(CONFIG_KGDB) += dbg_io.o +obj-$(CONFIG_KGDB) += dbg_io.o diff --git a/arch/mips/momentum/ocelot_g/Makefile b/arch/mips/momentum/ocelot_g/Makefile index e9395dfe247..bdd8d3292d7 100644 --- a/arch/mips/momentum/ocelot_g/Makefile +++ b/arch/mips/momentum/ocelot_g/Makefile @@ -2,8 +2,8 @@ # Makefile for Momentum Computer's Ocelot-G board. # -obj-y += gt-irq.o pci-irq.o pci.o int-handler.o irq.o prom.o reset.o setup.o - -obj-$(CONFIG_KGDB) += dbg_io.o +obj-y += gt-irq.o pci-irq.o int-handler.o irq.o prom.o \ + reset.o setup.o +obj-$(CONFIG_KGDB) += dbg_io.o EXTRA_AFLAGS := $(CFLAGS) -- 2.11.4.GIT