]> git.ipfire.org Git - people/ms/u-boot.git/blame - post/lib_powerpc/fpu/Makefile
Merge git://git.denx.de/u-boot-mmc
[people/ms/u-boot.git] / post / lib_powerpc / fpu / Makefile
CommitLineData
b4489621
SP
1#
2# (C) Copyright 2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
b4489621 6#
b4489621 7
6825a95b
MY
8objs-before-objcopy := 20001122-1.o 20010114-2.o 20010226-1.o 980619-1.o \
9 acc1.o compare-fp-1.o fpu.o mul-subnormal-single-1.o darwin-ldouble.o
10targets += $(objs-before-objcopy)
b4489621 11
6825a95b
MY
12# remove -msoft-float flag
13$(foreach m, $(objs-before-objcopy), $(eval CFLAGS_REMOVE_$m := -msoft-float))
14ccflags-y := -mhard-float -fkeep-inline-functions
139e1875 15
6825a95b
MY
16# Do not delete intermidiate files (*.o)
17.SECONDARY: $(call objectify, $(objs-before-objcopy))
18
19obj-y := $(objs-before-objcopy:.o=_.o)
20
21OBJCOPYFLAGS := -R .gnu.attributes
19233d80 22$(obj)/%_.o: $(obj)/%.o FORCE
6825a95b 23 $(call if_changed,objcopy)