Skip to content

First wave of config changes

Grant Likely u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Build: split COBJS value into multiple linescommon/Makefile disk/Makefile drivers/Makefile +8 more+282 -800 replies
2/9Group network drivers in drivers/Makefiledrivers/Makefile+31 -290 replies
3/9Group console drivers in drivers/Makefiledrivers/Makefile+26 -220 replies
4/9Group i2c drivers in drivers/Makefiledrivers/Makefile+8 -40 replies
5/9Group USB drivers in drivers/Makefiledrivers/Makefile+11 -70 replies
6/9Group block/flash drivers in drivers/Makefiledrivers/Makefile+12 -80 replies
7/9Group PCI drivers in drivers/Makefiledrivers/Makefile+22 -150 replies
8/9Generate include/autoconf.mk from board config filesMakefile config.mk tools/scripts/define2mk.sed+38 -11 reply
8/9Generate include/autoconf.mk from board config files+0 -00 replies
9/9Conditionally compile common/cmd_*.ccommon/Makefile common/cmd_bdinfo.c common/cmd_bedbug.c +36 more+47 -1990 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/9] First wave of config changes

Here's my first set of config changes. It allows the Makefiles to conditionally compile *.o files based on the board configuration.

Only CONFIG_* macros may be used in the build system. Future patches will rename many of the CFG_ macros to something prefixed with CONFIG_

I've heavily build-tested these changes for PPC, MIPS and ARM targets using MAKEALL. The build results in binaries of identical size.

I've also pushed these changes to the 'kconfig-for-1.3.1' branch of the u-boot-mpc5xxx.git repository.

Please review and comment.

Thanks,
g.

--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.