Sergei Poselenov | 3190dbe | 2007-07-05 08:17:37 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2007 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Sergei Poselenov | 3190dbe | 2007-07-05 08:17:37 +0200 | [diff] [blame] | 6 | # |
Sergei Poselenov | 3190dbe | 2007-07-05 08:17:37 +0200 | [diff] [blame] | 7 | |
Masahiro Yamada | f427136 | 2013-10-21 11:53:39 +0900 | [diff] [blame] | 8 | CPPFLAGS += -I$(TOPDIR) |
Sergei Poselenov | 3190dbe | 2007-07-05 08:17:37 +0200 | [diff] [blame] | 9 | |
Masahiro Yamada | f427136 | 2013-10-21 11:53:39 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_HAS_POST) += 20001122-1.o |
| 11 | obj-$(CONFIG_HAS_POST) += 20010114-2.o |
| 12 | obj-$(CONFIG_HAS_POST) += 20010226-1.o |
| 13 | obj-$(CONFIG_HAS_POST) += 980619-1.o |
| 14 | obj-$(CONFIG_HAS_POST) += acc1.o |
| 15 | obj-$(CONFIG_HAS_POST) += compare-fp-1.o |
| 16 | obj-$(CONFIG_HAS_POST) += fpu.o |
| 17 | obj-$(CONFIG_HAS_POST) += mul-subnormal-single-1.o |
| 18 | obj-$(CONFIG_HAS_POST) += darwin-ldouble.o |
Sergei Poselenov | 3190dbe | 2007-07-05 08:17:37 +0200 | [diff] [blame] | 19 | |
Yuri Tikhonov | 7ed66f7 | 2008-12-20 14:54:21 +0300 | [diff] [blame] | 20 | CFLAGS := $(shell echo $(CFLAGS) | sed s/-msoft-float//) |
Sergei Poselenov | 3190dbe | 2007-07-05 08:17:37 +0200 | [diff] [blame] | 21 | CFLAGS += -mhard-float -fkeep-inline-functions |
Wolfgang Denk | 6244905 | 2011-12-22 04:29:41 +0000 | [diff] [blame] | 22 | |
| 23 | $(obj)%.o: %.c |
| 24 | $(CC) $(ALL_CFLAGS) -o $@.fp $< -c |
| 25 | $(OBJCOPY) -R .gnu.attributes $@.fp $@ |
| 26 | rm -f $@.fp |