[U-Boot-Users] [PATCH 0/2] Enable Makefile conditional compilation

Wolfgang Denk wd at denx.de
Wed Nov 21 13:44:16 CET 2007


In message <20071121053731.19848.87826.stgit at trillian.cg.shawcable.net> you wrote:
> These 2 patches enable conditional compilation at the Makefile level in
> u-boot.  Using this we can finally start getting rid of the
> #ifdef/#endif wrappers around every .c file.
> 
> Wolfgang, I've also pushed this to the 5xxx git tree (see below).  This
> change is much easier to merge, but is far more risky (because it's the
> first one).  If we're doing a short cycle just for build changes, then
> this is probably the best time to do it.
> 
> I've tested with MAKEALL and verified image sizes didn't change when
> working with an earlier version of this series.  Only things that have
> changes since them is dependency calculation on the new autoconf.mk file
> and rebasing to top of tree.
> 
> Cheers,
> g.
> 
> The following changes since commit f92edbd8a0ef16a2b9127cbb564c09685728e4b0:
>   Grant Likely (1):
>         Merge branch 'origin' into kconfig-for-1.3.1
> 
> are available in the git repository at:
> 
>   git://www.denx.de/git/u-boot-mpc5xxx.git master
> 
> Grant Likely (2):
>       [BUILD] Generate include/autoconf.mk from board config files
>       [BUILD] conditionally compile common/cmd_*.c in common/Makefile

Merged into u-boot-testing repo.

Previous state is now in mainline.

Thanks a lot.



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
Documentation is like sex: when it is good, it is  very,  very  good;
and when it is bad, it is better than nothing.         - Dick Brandon




More information about the U-Boot mailing list