xref: /rk3399_rockchip-uboot/post/lib_powerpc/fpu/Makefile (revision a47a12becf66f02a56da91c161e2edb625e9f20c)
1*a47a12beSStefan Roese#
2*a47a12beSStefan Roese# (C) Copyright 2007
3*a47a12beSStefan Roese# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*a47a12beSStefan Roese#
5*a47a12beSStefan Roese# See file CREDITS for list of people who contributed to this
6*a47a12beSStefan Roese# project.
7*a47a12beSStefan Roese#
8*a47a12beSStefan Roese# This program is free software; you can redistribute it and/or
9*a47a12beSStefan Roese# modify it under the terms of the GNU General Public License as
10*a47a12beSStefan Roese# published by the Free Software Foundation; either version 2 of
11*a47a12beSStefan Roese# the License, or (at your option) any later version.
12*a47a12beSStefan Roese#
13*a47a12beSStefan Roese# This program is distributed in the hope that it will be useful,
14*a47a12beSStefan Roese# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*a47a12beSStefan Roese# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*a47a12beSStefan Roese# GNU General Public License for more details.
17*a47a12beSStefan Roese#
18*a47a12beSStefan Roese# You should have received a copy of the GNU General Public License
19*a47a12beSStefan Roese# along with this program; if not, write to the Free Software
20*a47a12beSStefan Roese# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*a47a12beSStefan Roese# MA 02111-1307 USA
22*a47a12beSStefan Roese#
23*a47a12beSStefan Roeseinclude $(TOPDIR)/config.mk
24*a47a12beSStefan Roese
25*a47a12beSStefan RoeseLIB	= libpost$(ARCH)fpu.a
26*a47a12beSStefan Roese
27*a47a12beSStefan RoeseCOBJS-$(CONFIG_HAS_POST)	+= fpu.o 20001122-1.o 20010114-2.o 20010226-1.o 980619-1.o
28*a47a12beSStefan RoeseCOBJS-$(CONFIG_HAS_POST)	+= acc1.o compare-fp-1.o mul-subnormal-single-1.o
29*a47a12beSStefan Roese
30*a47a12beSStefan Roeseinclude $(TOPDIR)/post/rules.mk
31*a47a12beSStefan Roese
32*a47a12beSStefan RoeseCFLAGS := $(shell echo $(CFLAGS) | sed s/-msoft-float//)
33*a47a12beSStefan RoeseCFLAGS += -mhard-float -fkeep-inline-functions
34