summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
commitb2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch)
tree954a648692e7da983db1d2470953705f6a729264 /arch/mips/mips-boards
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r--arch/mips/mips-boards/atlas/Makefile5
-rw-r--r--arch/mips/mips-boards/generic/Makefile11
-rw-r--r--arch/mips/mips-boards/malta/Makefile4
3 files changed, 5 insertions, 15 deletions
diff --git a/arch/mips/mips-boards/atlas/Makefile b/arch/mips/mips-boards/atlas/Makefile
index 4771fb317..b5939f8dd 100644
--- a/arch/mips/mips-boards/atlas/Makefile
+++ b/arch/mips/mips-boards/atlas/Makefile
@@ -37,9 +37,6 @@ all: atlas.o
O_TARGET := atlas.o
-O_OBJS := atlas_int.o atlas_rtc.o atlas_setup.o
-
-dep:
- $(CPP) -M *.c > .depend
+obj-y := atlas_int.o atlas_rtc.o atlas_setup.o
include $(TOPDIR)/Rules.make
diff --git a/arch/mips/mips-boards/generic/Makefile b/arch/mips/mips-boards/generic/Makefile
index 8a2f0e6d8..ebc07dcdd 100644
--- a/arch/mips/mips-boards/generic/Makefile
+++ b/arch/mips/mips-boards/generic/Makefile
@@ -32,15 +32,10 @@
.S.o:
$(CC) $(CFLAGS) -c $< -o $*.o
-all: mipsboards.o
-
O_TARGET := mipsboards.o
-O_OBJS := mipsIRQ.o pci.o reset.o display.o init.o memory.o printf.o \
- cmdline.o time.o
-
-ifdef CONFIG_REMOTE_DEBUG
-O_OBJS += gdb_hook.o
-endif
+obj-y := mipsIRQ.o pci.o reset.o display.o init.o \
+ memory.o printf.o cmdline.o time.o
+obj-$(CONFIG_REMOTE_DEBUG) += gdb_hook.o
include $(TOPDIR)/Rules.make
diff --git a/arch/mips/mips-boards/malta/Makefile b/arch/mips/mips-boards/malta/Makefile
index a5c7fdb13..e71c8e8ed 100644
--- a/arch/mips/mips-boards/malta/Makefile
+++ b/arch/mips/mips-boards/malta/Makefile
@@ -33,10 +33,8 @@
.S.o:
$(CC) $(CFLAGS) -c $< -o $*.o
-all: malta.o
-
O_TARGET := malta.o
-O_OBJS := malta_int.o malta_rtc.o malta_setup.o
+obj-y := malta_int.o malta_rtc.o malta_setup.o
include $(TOPDIR)/Rules.make