
Dear Scott Wood,
In message 20090908153825.GA18061@b07421-ec1.am.freescale.net you wrote:
#ifdef MPC8536DS_36BIT blablabla #endif
That would be CONFIG_MPC8536DS_NAND etc., but except of that that's whaty I mean.
NAND and 36BIT are orthogonal options -- what is wrong with the previous suggestion of splitting them in mkconfig?
I don't like this idea as it will pollute the namespace by a number of uncontrolled auto-generated #defines, which may be a nightmare to debug because you quickly forget where such definitions might be coming from - after you realize that they are actually set because you cannot find them in any board-related config or source file.
There are a number of board names that have an underscore embedded which may or may not indicate such options. Also, such auto-generated symbols may be wrong. For example "omap1610inn_cs_autoboot_config" would auto-generate
CONFIG_OMAP1610INN CONFIG_CS CONFIG_AUTOBOOT
instead of the expected CONFIG_CS_AUTOBOOT
With more than two orthogonal options, things will get rather silly trying to list every combination -- and it would be nice if it didn't matter which order the user specifies the options in.
Agreed. Unfortunately I don't have a clever idea how to implement this either.
Best regards,
Wolfgang Denk