summaryrefslogtreecommitdiffstats
path: root/arch/arm/nwfpe/Makefile
blob: a14371e5d9ac8a7e5b4c410d4de69db4eaa3794e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# linux/arch/arm/nwfpe/Makefile
#
# Copyright (C) 1998, 1999 Philip Blundell
#

NWFPE_OBJS := fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o \
	      fpmodule.o fpopcode.o softfloat.o \
	      single_cpdo.o double_cpdo.o extended_cpdo.o

ifeq ($(CONFIG_CPU_26),y)
NWFPE_OBJS += entry26.o
else
NWFPE_OBJS += entry.o
endif

ifeq ($(CONFIG_NWFPE),y)
O_TARGET := math-emu.o
O_OBJS = $(NWFPE_OBJS)
else
  ifeq ($(CONFIG_NWFPE),m)
    M_OBJS = nwfpe.o
    MI_OBJS = $(NWFPE_OBJS)
  endif
endif

include $(TOPDIR)/Rules.make

nwfpe.o: $(MI_OBJS) $(MIX_OBJS)
	 $(LD) $(LD_RFLAG) -r -o $@ $(MI_OBJS) $(MIX_OBJS)