blob: 6aec96c023a8fc4d465387759191b4ca42920e63 [file] [log] [blame]
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02001#
2# (C) Copyright 2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02006#
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02007
Masahiro Yamadaf4271362013-10-21 11:53:39 +09008CPPFLAGS += -I$(TOPDIR)
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02009
Masahiro Yamadaf4271362013-10-21 11:53:39 +090010obj-$(CONFIG_HAS_POST) += 20001122-1.o
11obj-$(CONFIG_HAS_POST) += 20010114-2.o
12obj-$(CONFIG_HAS_POST) += 20010226-1.o
13obj-$(CONFIG_HAS_POST) += 980619-1.o
14obj-$(CONFIG_HAS_POST) += acc1.o
15obj-$(CONFIG_HAS_POST) += compare-fp-1.o
16obj-$(CONFIG_HAS_POST) += fpu.o
17obj-$(CONFIG_HAS_POST) += mul-subnormal-single-1.o
18obj-$(CONFIG_HAS_POST) += darwin-ldouble.o
Sergei Poselenov3190dbe2007-07-05 08:17:37 +020019
Yuri Tikhonov7ed66f72008-12-20 14:54:21 +030020CFLAGS := $(shell echo $(CFLAGS) | sed s/-msoft-float//)
Sergei Poselenov3190dbe2007-07-05 08:17:37 +020021CFLAGS += -mhard-float -fkeep-inline-functions
Wolfgang Denk62449052011-12-22 04:29:41 +000022
23$(obj)%.o: %.c
24 $(CC) $(ALL_CFLAGS) -o $@.fp $< -c
25 $(OBJCOPY) -R .gnu.attributes $@.fp $@
26 rm -f $@.fp