[U-Boot] non-needed objects added to resulting U-Boot image

Wolfgang Denk wd at denx.de
Wed Oct 15 12:51:54 CEST 2008


Dear "Roman Mashak",

In message <40a670230810141657m1e18f4efjedea1cab54149b2c at mail.gmail.com> you wrote:
> 
> > These libraries may be used in the link command of your image, but do
> > you actually see any unused objects included in your linked image?
> LIBS in Makefile incorporates all drivers, file systems etc., so
> 'make' command traverses through out the source tree and builds (in
> many cases the binaries contain only debug information). Isn't it
> reasonable to add a few variables, say in $(uboot)/config_user.mk,
> which will more precisely define what to build. Further,

Um... you didn't follow what's been going on in the Makefiles in the
last months, have you?

> It may slightly speed up a building process.

This is already being worked on, just differently (using kconfig
style).

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
...computer hardware progress is so fast. No other  technology  since
civilization  began  has seen six orders of magnitude in performance-
price gain in 30 years.                             - Fred Brooks, Jr.


More information about the U-Boot mailing list