summaryrefslogtreecommitdiffstats
path: root/arch/mips/baget
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/baget
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'arch/mips/baget')
-rw-r--r--arch/mips/baget/Makefile23
-rw-r--r--arch/mips/baget/prom/Makefile7
2 files changed, 9 insertions, 21 deletions
diff --git a/arch/mips/baget/Makefile b/arch/mips/baget/Makefile
index f27a9e6f3..a62e48021 100644
--- a/arch/mips/baget/Makefile
+++ b/arch/mips/baget/Makefile
@@ -1,4 +1,3 @@
-# $Id: Makefile,v 1.3 1999/08/13 17:07:26 harald Exp $
#
# Makefile for the Baget specific kernel interface routines
# under Linux.
@@ -12,22 +11,12 @@
all: baget.a
O_TARGET := baget.a
-O_OBJS := baget.o print.o setup.o time.o irq.o bagetIRQ.o reset.o wbflush.o
-
-ifeq ($(CONFIG_SERIAL),y)
- OX_OBJS += vacserial.o
-else
- ifeq ($(CONFIG_SERIAL),m)
- MX_OBJS += vacserial.o
- endif
-endif
-ifeq ($(CONFIG_VAC_RTC),y)
- OX_OBJS += vacrtc.o
-else
- ifeq ($(CONFIG_VAC_RTC),m)
- MX_OBJS += vacrtc.o
- endif
-endif
+
+export-objs := vacserial.o vacrtc.o
+obj-y := baget.o print.o setup.o time.o irq.o bagetIRQ.o \
+ reset.o wbflush.o
+obj-$(CONFIG_SERIAL) += vacserial.o
+obj-$(CONFIG_VAC_RTC) += vacrtc.o
bagetIRQ.o : bagetIRQ.S
$(CC) $(CFLAGS) -c -o $@ $<
diff --git a/arch/mips/baget/prom/Makefile b/arch/mips/baget/prom/Makefile
index a98779f0e..ee24ab306 100644
--- a/arch/mips/baget/prom/Makefile
+++ b/arch/mips/baget/prom/Makefile
@@ -1,4 +1,4 @@
-# $Id$
+#
# Makefile for the Baget/MIPS prom emulator library routines.
#
# Note! Dependencies are done automagically by 'make dep', which also
@@ -7,9 +7,8 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-O_TARGET := bagetlib.a
-O_OBJS := init.o
+L_TARGET := bagetlib.a
-all: $(O_TARGET)
+obj-y := init.o
include $(TOPDIR)/Rules.make