blob: 9b2c1fadb654efa2519f17c2bd0b6c862dfc3100 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02002#
3# (C) Copyright 2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02005
Masahiro Yamada0d68fb12014-02-04 17:24:28 +09006objs-before-objcopy := 20001122-1.o 20010114-2.o 20010226-1.o 980619-1.o \
7 acc1.o compare-fp-1.o fpu.o mul-subnormal-single-1.o darwin-ldouble.o
8targets += $(objs-before-objcopy)
Sergei Poselenov3190dbe2007-07-05 08:17:37 +02009
Masahiro Yamada0d68fb12014-02-04 17:24:28 +090010# remove -msoft-float flag
11$(foreach m, $(objs-before-objcopy), $(eval CFLAGS_REMOVE_$m := -msoft-float))
12ccflags-y := -mhard-float -fkeep-inline-functions
13
Masahiro Yamada0d68fb12014-02-04 17:24:28 +090014obj-y := $(objs-before-objcopy:.o=_.o)
Wolfgang Denk62449052011-12-22 04:29:41 +000015
Masahiro Yamada0d68fb12014-02-04 17:24:28 +090016OBJCOPYFLAGS := -R .gnu.attributes
Masahiro Yamadace8c93e2014-02-26 11:26:08 +090017$(obj)/%_.o: $(obj)/%.o FORCE
Masahiro Yamada0d68fb12014-02-04 17:24:28 +090018 $(call if_changed,objcopy)