summaryrefslogtreecommitdiffstats
path: root/arch/mips/ddb5476/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ddb5476/Makefile')
-rw-r--r--arch/mips/ddb5476/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/ddb5476/Makefile b/arch/mips/ddb5476/Makefile
index cb061ab5f..f214396c6 100644
--- a/arch/mips/ddb5476/Makefile
+++ b/arch/mips/ddb5476/Makefile
@@ -15,10 +15,9 @@
$(CC) $(CFLAGS) -c $< -o $*.o
O_TARGET = ddb5476.a
-O_OBJS = setup.o irq.o time.o prom.o pci.o int-handler.o nile4.o
-ifdef CONFIG_REMOTE_DEBUG
-O_OBJS += dbg_io.o
-endif
+obj-y += setup.o irq.o time.o prom.o pci.o \
+ int-handler.o nile4.o
+obj-$(CONFIG_REMOTE_DEBUG) += dbg_io.o
include $(TOPDIR)/Rules.make