Dear Mike Frysinger, In message <[email protected]> you wrote: > The envcrc utility is only called when it is actually needed, so having the > internal code depend on ENV_IS_EMBEDDED isn't necessary. Plus, by always > building it, external utils can manipulate the environment blob without > having to mess around with defines.
But always building some tool that is normally not needed just adds to the compile time. > Same logic holds for env_embedded. It is already compiled for the majority > of boards into a 0 byte file, so enabling it all the time shouldn't cause > noticable change in overhead. The difference now is that we link it into > U-Boot itself only when CONFIG_ENV_IS_EMBEDDED is defined. Again, I see added build time as a con for this patch - but I'm failing to see any pro? If you have "external utils" that might need this, please add a separate Makefile target so you can build this separately, but save all the rest of us the compile time overhead. Thanks. 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: [email protected] grep me no patterns and I'll tell you no lines. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

