patch-2.1.87 linux/arch/alpha/math-emu/Makefile

Next file: linux/arch/alpha/math-emu/fp-emul.c
Previous file: linux/arch/alpha/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/arch/alpha/math-emu/Makefile linux/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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov