summaryrefslogtreecommitdiffstats
path: root/arch/alpha/math-emu/Makefile
blob: 4486b79e338d5cbae1b3e26f329343e877a33885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Makefile for the FPU instruction emulation.
#

CFLAGS += -I. -I$(TOPDIR)/include/math-emu -w

ifeq ($(CONFIG_MATHEMU),y)

O_TARGET	:= math-emu.o
obj-y		:= math.o qrnnd.o

else

list-multi	:= math-emu.o
math-emu-objs	:= math.o qrnnd.o
obj-m		:= math-emu.o
math-emu.o: $(math-emu-objs)
	$(LD) -r -o $@ $(math-emu-objs)

endif

include $(TOPDIR)/Rules.make