1#
2# Makefile for the FPU instruction emulation.
3#
4
5CFLAGS += -I. -I$(TOPDIR)/include/math-emu -w
6
7ifeq ($(CONFIG_MATHEMU),y)
8
9O_TARGET	:= math-emu.o
10obj-y		:= math.o qrnnd.o
11
12else
13
14list-multi	:= math-emu.o
15math-emu-objs	:= math.o qrnnd.o
16obj-m		:= math-emu.o
17math-emu.o: $(math-emu-objs)
18	$(LD) -r -o $@ $(math-emu-objs)
19
20endif
21
22include $(TOPDIR)/Rules.make
23