summaryrefslogtreecommitdiffstats
path: root/arch/mips/arc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/arc/Makefile')
-rw-r--r--arch/mips/arc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/arc/Makefile b/arch/mips/arc/Makefile
index e37207b33..8af31d353 100644
--- a/arch/mips/arc/Makefile
+++ b/arch/mips/arc/Makefile
@@ -1,4 +1,3 @@
-# $Id: Makefile,v 1.1 1998/10/18 13:32:08 tsbogend Exp $
#
# Makefile for the SGI arcs prom monitor library routines
# under Linux.
@@ -10,11 +9,12 @@
# Note 2! The CFLAGS definitions are now in the main makefile...
L_TARGET = arclib.a
-L_OBJS = console.o init.o memory.o tree.o env.o cmdline.o misc.o time.o \
- file.o identify.o
-ifdef CONFIG_ARC_CONSOLE
-L_OBJS += arc_con.o
-endif
+obj-y += console.o init.o memory.o tree.o env.o cmdline.o misc.o \
+ time.o file.o identify.o
+
+obj-$(CONFIG_ARC_CONSOLE) += arc_con.o
+
+L_OBJS := $(obj-y)
include $(TOPDIR)/Rules.make