[U-Boot] [PATCH] Switch from archive libraries to partial linking

Wolfgang Denk
2011-01-25T06:36:54Z

Dear Kumar Gala,

In message <356989C7-FA92-46D5-9FB6-5F9332ECBFD5@kernel.crashing.org> you wrote:
>
> The issue is that the code under post/lib_powerpc/fpu/* is compiled with:
>
> CFLAGS := $(shell echo $(CFLAGS) | sed s/-msoft-float//)
> CFLAGS += -mhard-float -fkeep-inline-functions
>
> We need to see if we can avoid building the whole post/lib_powerpc/fpu/* dir if CONFIG_POST_FPU isn't set in CONFIG_POST.

This might solve the warning in most cases - but what abut these where
CONFIG_POST_FPU is defined? I mean, it is inherent that these tests
need to execute FP instructions.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every little picofarad has a nanohenry all its own. - Don Vonada