summaryrefslogtreecommitdiffstats
path: root/arch/alpha/math-emu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/math-emu/Makefile')
-rw-r--r--arch/alpha/math-emu/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/alpha/math-emu/Makefile b/arch/alpha/math-emu/Makefile
index 308533a02..6ea85465f 100644
--- a/arch/alpha/math-emu/Makefile
+++ b/arch/alpha/math-emu/Makefile
@@ -2,11 +2,11 @@
# Makefile for math-emulator files...
#
-OBJS = fp-emul.o ieee-math.o
+O_TARGET := math-emu.o
+O_OBJS := fp-emul.o ieee-math.o
-math-emu.a: $(OBJS)
- $(AR) rcs $@ $(OBJS)
-
-dep:
+ifeq ($(CONFIG_MATHEMU),m)
+M_OBJS := $(O_TARGET)
+endif
include $(TOPDIR)/Rules.make