xref: /openbmc/u-boot/post/lib_powerpc/fpu/Makefile (revision e183a174)
1#
2# (C) Copyright 2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8obj-y	+= 20001122-1.o
9obj-y	+= 20010114-2.o
10obj-y	+= 20010226-1.o
11obj-y	+= 980619-1.o
12obj-y	+= acc1.o
13obj-y	+= compare-fp-1.o
14obj-y	+= fpu.o
15obj-y	+= mul-subnormal-single-1.o
16obj-y	+= darwin-ldouble.o
17
18CFLAGS := $(shell echo $(CFLAGS) | sed s/-msoft-float//)
19CFLAGS += -mhard-float -fkeep-inline-functions
20
21$(obj)%.o:	%.c
22	$(CC)  $(ALL_CFLAGS) -o $@.fp $< -c
23	$(OBJCOPY) -R .gnu.attributes $@.fp $@
24	rm -f $@.fp
25