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

Wolfgang Denk wd at denx.de
Tue Jan 25 07:36:54 CET 2011


Dear Kumar Gala,

In message <356989C7-FA92-46D5-9FB6-5F9332ECBFD5 at 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


More information about the U-Boot mailing list