
Hello
2008/10/14 Wolfgang Denk wd@denx.de:
drivers/net/libnet.a drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a
and so on.
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, $(uboot)/config.mk includes config_local.mk, and later on Makefile organizes LIBS something like that:
... ifdef BUILD_NET LIBS +=drivers/net/libnet.a endif ...
It may slightly speed up a building process.